[RFC] mount(8) can figure out fstype

Dag-Erling Smørgrav des at des.no
Thu Jan 18 15:48:35 UTC 2007


Craig Rodrigues <rodrigc at crodrigues.org> writes:
> This is a different version of the patch I posted here:
> http://lists.freebsd.org/pipermail/freebsd-arch/2006-July/005439.html

Didn't somebody mention ordering issues back then?  Your revised patch
still doesn't even try to address those.  If we ever get ext3 support,
for instance, mounting an ext2 file system as ext3 might cause it to
be silently upgraded to ext3.

Not to mention the slew of error messages this will result in as you
walk the list of filesystems trying to find the right one...

A better way would be to have a userland utility attempt to identify
the file system, and if necessary load the appropriate module, before
mounting it.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-current mailing list