On Thu, Mar 17, 2011 at 06:01:54PM +0100, J B wrote: > What is actually happening here ? [...] > # mount -vf -t auto /dev/sda2 /media/ > /dev/sda2 on /media type auto (rw) man mount: -f, --fake Causes everything to be done except for the actual system call; if it's not obvious, this ``fakes'' mounting the filesystem. > # df > Filesystem      1K-blocks   ÂUsed Available Use% Mounted on > /dev/sda7       14420896  7413796  5541976 Â58% / > tmpfs         Â1025992    448  1025544  1% /dev/shm > /dev/sda2       14420896  7413796  5541976 Â58% /media   <======== df(1) reads /etc/mtab where is the 'fake' entry, /media is no the root (/) filesystem. It seems that df(1) is not smart enough to detect this situation. > [root@localhost jb]# mount > ... > /dev/sda2 on /media type auto (rw)                 <======== > > # cat /proc/mounts > ... >                                  <====== ??? Sure, the filesystem is not mounted. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html