Product SiteDocumentation Site

16.3.4. Using the findmnt Command

The findmnt command displays a list of currently mounted file systems, for example:
~]$ findmnt
TARGET                           SOURCE                        FSTYPE   OPTIONS
/                                /dev/mapper/vg_test-lv_fedora_16
                                                               ext4     rw,relat
|-/proc                          proc                          proc     rw,nosui
| `-/proc/sys/fs/binfmt_misc     systemd-1                     autofs   rw,relat
|-/sys                           sysfs                         sysfs    rw,nosui
| |-/sys/fs/selinux              selinuxfs                     selinuxf rw,relat
| |-/sys/fs/cgroup               tmpfs                         tmpfs    rw,nosui
| | |-/sys/fs/cgroup/systemd     cgroup                        cgroup   rw,nosui
| | |-/sys/fs/cgroup/cpuset      cgroup                        cgroup   rw,nosui
| | |-/sys/fs/cgroup/cpu,cpuacct cgroup                        cgroup   rw,nosui
| | |-/sys/fs/cgroup/memory      cgroup                        cgroup   rw,nosui
| | |-/sys/fs/cgroup/devices     cgroup                        cgroup   rw,nosui
| | |-/sys/fs/cgroup/freezer     cgroup                        cgroup   rw,nosui
| | |-/sys/fs/cgroup/net_cls     cgroup                        cgroup   rw,nosui
| | |-/sys/fs/cgroup/blkio       cgroup                        cgroup   rw,nosui
| | `-/sys/fs/cgroup/perf_event  cgroup                        cgroup   rw,nosui
| |-/sys/kernel/debug            debugfs                       debugfs  rw,relat
| |-/sys/kernel/security         securityfs                    security rw,relat
| `-/sys/fs/fuse/connections     fusectl                       fusectl  rw,relat
[output truncated]
By default, lsblk lists file systems in a tree-like format. To display the information as an ordinary list, add the -l command line option:
~]$ findmnt -l
TARGET                     SOURCE                           FSTYPE   OPTIONS
/proc                      proc                             proc     rw,nosuid,n
/sys                       sysfs                            sysfs    rw,nosuid,n
/dev                       devtmpfs                         devtmpfs rw,nosuid,r
/dev/pts                   devpts                           devpts   rw,nosuid,n
/dev/shm                   tmpfs                            tmpfs    rw,nosuid,n
/                          /dev/mapper/vg_test-lv_fedora_16 ext4     rw,relatime
/run                       tmpfs                            tmpfs    rw,nosuid,n
/sys/fs/selinux            selinuxfs                        selinuxf rw,relatime
/sys/fs/cgroup             tmpfs                            tmpfs    rw,nosuid,n
/sys/fs/cgroup/systemd     cgroup                           cgroup   rw,nosuid,n
[output truncated]
You can also choose to display only the file systems of a particular type. To do so, add the -t command line option followed by a file system type, for example:
~]$ findmnt -t ext4
TARGET SOURCE                           FSTYPE OPTIONS
/      /dev/mapper/vg_test-lv_fedora_16 ext4   rw,relatime,seclabel,user_xattr,b
For a complete list of available command line options, refer to the findmnt(8) manual page.