Getting an Overview of Mounted Devices

Every device that is mounted is recorded in the configuration file /etc/mtab. You can browse the content of this file with a utility such as cat or less; it is also possible to get an overview of file systems that are currently mounted by using the mount command. If you use this command without any other parameters, you'll see a list of all mounted file systems and the options they were mounted with; see Listing 7-1 for an example.

Listing 7-1. An Overview of All File Systems Currently Mounted SFO:~ # mount

/dev/hda2 on / type ext3 (rw,acl,user_xattr)

proc on /proc type proc (rw)

sysfs on /sys type sysfs (rw)

debugfs on /sys/kernel/debug type debugfs (rw)

udev on /dev type tmpfs (rw)

devpts on /dev/pts type devpts (rw,mode=0620,gid=5) /dev/hda3 on /data type xfs (rw)

securityfs on /sys/kernel/security type securityfs (rw)

Was this article helpful?

0 0

Post a comment