Package: mount
Version: 2.13.1.1-1
Severity: normal

When mount has to guess a filesystem type it asks libblkid.  libblkid
may know both a TYPE and a SEC_TYPE.  mount tries the TYPE but ignores 
the SEC_TYPE.  I suggest that mount should try the SEC_TYPE if the TYPE 
fails for some reason.

Here's my scenario: I have built a kernel without vfat support (for 
political reasons; I only use fat for reading camera flash cards, and 
they only ever have short filenames).  When I try to mount an SD card, 
mount fails with "unknown filesystem type 'vfat'".  Yet the blkid 
command shows that libblkid has determined SEC_TYPE="msdos" for the 
device.  If mount tried this SEC_TYPE when the primary type failed it 
would succeed.

I note that libblkid takes precedence over the /proc/filesystems and 
/etc/filesystems lists, so even though my /proc/filesystems lists msdos 
and not vfat [once the msdos module is loaded] and irrespective of what 
I put in /etc/filesystems, I still get this error.

Regards,  Phil.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.30-rc3
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages mount depends on:
ii  libblkid1     1.41.5-1                   block device id library
ii  libc6         2.9-8                      GNU C Library: Shared libraries
ii  libselinux1   2.0.59-1                   SELinux shared libraries
ii  libuuid1      1.38+1.39-WIP-2005.12.31-1 universally unique id library

mount recommends no packages.

-- no debconf information




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to