File System

James Wilkinson fedora at westexe.demon.co.uk
Wed Mar 22 13:19:13 UTC 2006


Ali Helmy wrote:
> Quick Question: How can I get to know which file system is currently
> running on a partition?

Andy Green wrote:
> mount is the best way...

mount should get all physical partitions, but won't get everything
that's actually mounted (at least on a standard FC4 system). Compare the
output of mount with the contents of /proc/mounts.

This is largely due to such things as initrds, and union mounts, and it
being a while before /etc is mounted and writable, and there actually
being a number of filesystems mounted by that time, and mount using
/etc/mtab. And the filesystems you don't get in mtab aren't ones that
people tend to be interested in.

There's a section in man mount on this, too.

James.

-- 
E-mail address: james | Whenever [Richard I] returned to England he always
@westexe.demon.co.uk  | set out again immediately for the Mediterranean and
                      | was therefore known as Richard Gare de Lyon.
                      |     -- '1066 and All That'




More information about the fedora-list mailing list