-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Skwar wrote:
> Hi!
> 
> In my /etc/fstab, I added the following line:
> 
> /dev/SigmaTel /mnt/SigmaTel auto defaults,noauto,users 0 0
> 
> The "mount" manpage says:
> 
[snip]
> 
> Because of that, I set my /etc/filesystems to contain *only* the 
> following line: vfat
> 
> Now I mounted "/dev/SigmaTel". I expected, that the "vfat" filesystemtype
>  be used, but:
> 
> [08:29:46 [EMAIL PROTECTED]:~] $ LC_ALL=C mount -v /dev/SigmaTel mount: you 
> didn't specify a filesystem type for /dev/SigmaTel I will try type msdos
>  /dev/scsi/host1/bus0/target0/lun0/part1 on /mnt/SigmaTel type msdos 
> (rw,noexec,nosuid,nodev)
> 
> Why's that? Why did the "msdos" filesystem get chosen? When I mount the 
> device "manually", I can (successfully) use the "vfat" filesystem.
The mount programm follows these steps, according to the manpage-snippet you
posted:
1 -> check with blkid library
2 -> probe superblock
3 -> consider /etc/filesystems
4 -> consider /proc/filesystems
If a step succeeds, the following steps will be ignored. So your mount
succeeds either at step 1 or 2 with the result of msdos-filesystem.
/etc/filesystems doesn't even get read. Just provide 'vfat' instead of
'auto' in your /etc/fstab and /dev/SigmaTel will get mounted with it.




- --
Dirk Raeder

I prefer encrypted and signed messages. My GPG key is available at
hkp://blackhole.pca.dfn.de with ID 0x05EB5446

Registered Linux user #378554
http://counter.li.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFCAI1o2QYJ1wXrVEYRAr7lAJsECnjw6BoHPOQpZviRAtddraQJTACfTtE4
mOzrX0Faa+g+w23Pu1WCRsY=
=cvmg
-----END PGP SIGNATURE-----

--
[email protected] mailing list

Reply via email to