[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: df: where is the root fs?



Mike Bird wrote:
On Wed September 1 2010 11:45:14 hugo vanwoerkom wrote:
What other way is there other than df to find where the root fs is mounted?

"cat /proc/mounts" is authoritative even when /etc/mtab is messed up.


But that does not have the device:

rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
none /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev tmpfs rw,relatime,size=10240k,mode=755 0 0
/dev/sda6 / ext2 rw,relatime,errors=remount-ro 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
/dev/sdc7 /sda7 ext2 rw,relatime,errors=continue 0 0

Hugo


Reply to: