Re: [RFC] mount(8) can figure out fstype
- From: "Brandon S. Allbery KF8NH" <allbery@xxxxxxxxxxx>
- Date: Thu, 18 Jan 2007 09:49:19 -0500
On Jan 18, 2007, at 9:14 , Andrew Pantyukhin wrote:
On 1/18/07, Craig Rodrigues <rodrigc@xxxxxxxxxxxxxx> wrote:In this patch, I only modified the userland mount program.
If the user does not specify "-t vfstype" to mount,
the mount program gets a list of local filesystems from the vfs.conflist
sysctl. It then tries to mount the filesystem, always
starting with "ufs", and then iterating through the list if
the nmount() fails with EINVAL.
I would love to have this usability enhancement around!
1. Are there any (what are the) security implications?
2. "mount -t auto" might be closer to POLA
ISTR from back when Linux added this that the bigger problem is that the msdos filesystem may sometimes accept filesystems it shouldn't, because the only way to catch an invalid filesystem is heuristics.
--
brandon s. allbery [linux,solaris,freebsd,perl] allbery@xxxxxxxxx
system administrator [openafs,heimdal,too many hats] allbery@xxxxxxxxxxx
electrical and computer engineering, carnegie mellon university KF8NH
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- References:
- [RFC] mount(8) can figure out fstype
- From: Craig Rodrigues
- Re: [RFC] mount(8) can figure out fstype
- From: Andrew Pantyukhin
- [RFC] mount(8) can figure out fstype
- Prev by Date: Re: [RFC] mount(8) can figure out fstype
- Next by Date: Re: [RFC] mount(8) can figure out fstype
- Previous by thread: Re: [RFC] mount(8) can figure out fstype
- Next by thread: Re: [RFC] mount(8) can figure out fstype
- Index(es):
Relevant Pages
|
|