Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
24.4.3. Using the findmnt Command
The
findmnt
command allows you to display a list of currently mounted file systems. To do so, type the following at a shell prompt:
findmnt
findmnt
For each listed file system, the
findmnt
command displays the target mount point (TARGET
), source device (SOURCE
), file system type (FSTYPE
), and relevant mount options (OPTIONS
). For example:
By default,
findmnt
lists file systems in a tree-like format. To display the information as an ordinary list, add the -l
command-line option:
findmnt -l
findmnt -l
For instance:
You can also choose to list only file systems of a particular type. To do so, add the
-t
command-line option followed by a file system type:
findmnt -t type
findmnt -t type
For example, to list all
ext4
file systems, type:
findmnt -t ext4
~]$ findmnt -t ext4
TARGET SOURCE FSTYPE OPTIONS
/ /dev/mapper/vg_kvm-lv_root ext4 rw,relatime,seclabel,barrier=1,data=ord
/boot /dev/vda1 ext4 rw,relatime,seclabel,barrier=1,data=ord
For a complete list of available command-line options, see the findmnt(8) manual page.