Debian Filesystems – How to Find Out About Rootfs

debianfilesystems

Running Debian 7; when I execute a

cat /etc/mtab

I can see all sorts of useful information about the filesystems that are mounted, such as the filesystem and options used to mount then; however for the rootfs I see only:

rootfs / rootfs rw 0 0

How can I know more about the rootfs; which physical device/partition was used, filesystem, mount options etc?

On my system /etc/mtab is in fact a symbolic link to /proc/mounts

lrwxrwxrwx 1 root root 12 May  9  2013 /etc/mtab -> /proc/mounts

Best Answer

I think you should be looking into /proc/mounts:

$ cat /proc/mounts

That file has exact device, filesystem and other mount options used to mount different filesystems on your OS. The format is same as of /etc/fstab.

Related Question