Package: mount Version: 2.12r-19 Severity: normal
Suppose you boot from /dev/hda3 and fstab lists root (/) as /dev/hda4, mount will list root as mounted from /dev/hda4. /proc/mounts lists / as rootdev, with no hint which device it could be. mountpoint (from initscripts) with options "-d /" is cappable with a hand full lines of coide to determine the major and minor numbers of the corresponding block device, which should also be possible for mount to get it right. Maybe it's a bug in the initscripts that set up mtab. Generally I would rather use /proc/mounts and replace rootdev with the correct value, to /make it more error prone. I had serious data corruption when I relied on what mount says. You can mount the root file system a second time, and mount would show you two different block devices for the same mounted filesystem, wich is a Really Bad Thing. Patrick -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (900, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.21-1-686 (SMP w/1 CPU core) Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash Versions of packages mount depends on: ii libblkid 1.39+1.40-WIP-2006.11.14+dfsg-2 block device id library ii libc6 2.6.1-1 GNU C Library: Shared libraries ii libuuid1 1.39+1.40-WIP-2006.11.14+dfsg-2 universally unique id library mount recommends no packages. -- debconf-show failed -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]