Re: [RFC] mount(8) can figure out fstype

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Thu, 18 Jan 2007 16:15:00 +0100
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
Received on Thu Jan 18 2007 - 14:48:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:04 UTC