Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 82548

Summary: mount automatic filesystem detection wrong?
Product: Gentoo Linux Reporter: fbusse
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: 2004.3   
Hardware: x86   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description fbusse 2005-02-19 02:02:15 UTC
Hi
I've got an interesting problem.
/etc/fstab contains:

/dev/sda1 /mnt/usb vfat noauto,user 0 0

/etc/filesystems (symlink to /proc/filesystems) contains (removed the lines with a starting nodev):

ext3
ext2
iso9660
udf
vfat

According to the manpage, mount will check /etc/filesystems if the superblock turns up nothing useful (which IMO is the case for vfat at least the manpage suggest so in the paragraph about floppy). So mount should try to mount /mnt/usb as vfat, but it doesn't:
$ mount /mnt/usb
mount: unknown filesystem type 'msdos'

Why does mount try to mount it as msdos? Doing a mount -t vfat /dev/sda1 /mnt/usb works fine, so there's no problem with mounting itself, just with the detection.
Is there something wrong?
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-02-25 02:43:12 UTC
/etc/filesystems  should not be a symlink to /proc/filesystems.
get it from base-layout instead.
Comment 2 fbusse 2005-02-25 03:02:48 UTC
$ cat /var/db/pkg/sys-apps/baselayout-1.9.4-r6/CONTENTS |grep filesystems
sym /etc/filesystems -> ../proc/filesystems 1098868535
Comment 3 SpanKY gentoo-dev 2005-02-25 06:18:35 UTC

*** This bug has been marked as a duplicate of 63048 ***