[deployment-guide] Added the "Using the findmnt Command" section.

Jaromir Hradilek jhradile at fedoraproject.org
Wed Oct 19 01:04:48 UTC 2011


commit adc5f86580e180e42adcb33c76b8c738ea4524bf
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Tue Oct 18 20:12:31 2011 +0200

    Added the "Using the findmnt Command" section.

 en-US/System_Monitoring_Tools.xml |   56 +++++++++++++++++++++++++++++++++++++
 1 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/en-US/System_Monitoring_Tools.xml b/en-US/System_Monitoring_Tools.xml
index 54fd6da..0cc25bb 100644
--- a/en-US/System_Monitoring_Tools.xml
+++ b/en-US/System_Monitoring_Tools.xml
@@ -444,6 +444,62 @@ ID_PART_ENTRY_DISK=8:0</screen>
         For a complete list of available command line options, refer to the <emphasis role="bold">blkid</emphasis>(8) manual page.
       </para>
     </section>
+    <section id="s2-sysinfo-filesystems-findmnt">
+      <title>Using the findmnt Command</title>
+      <indexterm>
+        <primary><command>findmnt</command></primary>
+      </indexterm>
+      <para>
+        The <command>findmnt</command> command displays a list of currently mounted file systems, for example:
+      </para>
+      <screen>~]$ <command>findmnt</command>
+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
+<lineannotation>[output truncated]</lineannotation></screen>
+      <para>
+        By default, <command>lsblk</command> lists file systems in a tree-like format. To display the information as an ordinary list, add the <option>-l</option> command line option:
+      </para>
+      <screen>~]$ <command>findmnt -l</command>
+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
+<lineannotation>[output truncated]</lineannotation></screen>
+      <para>
+        You can also choose to display only the file systems of a particular type. To do so, add the <option>-t</option> command line option followed by a file system type, for example:
+      </para>
+      <screen>~]$ <command>findmnt -t ext4</command>
+TARGET SOURCE                           FSTYPE OPTIONS
+/      /dev/mapper/vg_test-lv_fedora_16 ext4   rw,relatime,seclabel,user_xattr,b</screen>
+      <para>
+        For a complete list of available command line options, refer to the <emphasis role="bold">findmnt</emphasis>(8) manual page.
+      </para>
+    </section>
     <section id="s2-sysinfo-filesystems-df">
       <title>Using the df Command</title>
       <indexterm>


More information about the docs-commits mailing list