On 2005.02.07 00:42, Pozsár Balázs wrote:
On Mon, Feb 07, 2005 at 12:36:10AM +0000, Al Viro wrote: > On Mon, Feb 07, 2005 at 12:21:08AM +0100, Pozsar Balazs wrote: > > On Sun, Feb 06, 2005 at 07:06:59AM +0000, Christoph Hellwig wrote: > > > filesystem detection isn't handled at the kerne level.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IIRC currently if both msdos and vfat are compiled in (not modules), and
you try to mount a vfat filesystem without explicitly specifying the fs type, it will be mounted with the msdos type. With the, it will mounted vfat.
But since filesystem detection isn't handled in the kernel, changing the link order is pointless. Please fix your /etc/filesystems instead.
~# grep camera /etc/fstab /dev/sda1 /mnt/camera auto users,noauto 0 0 ~# strace -o mount.trace mount /mnt/camera ~# grep filesystems mount.trace open("/etc/filesystems", O_RDONLY|O_LARGEFILE) = 3 ~# cat /etc/filesystems ext2 ext3 nodev proc nodev devpts iso9660 reiserfs vfat udf
Also check man 8 mount, specifically option -t:
[...] Creating a file /etc/filesystems can be useful to change the probe order (e.g., to try vfat before msdos) ...
This is from man-pages 1.66, btw.
Regards,
Nuno - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/