[deployment-guide] Added the "Using the lsblk Command" subsection.

Jaromir Hradilek jhradile at fedoraproject.org
Fri Oct 14 13:14:10 UTC 2011


commit 0af9fdbbf63ddf69e11e05958928ff5e409e6253
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Fri Oct 14 14:56:05 2011 +0200

    Added the "Using the lsblk Command" subsection.

 en-US/System_Monitoring_Tools.xml |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)
---
diff --git a/en-US/System_Monitoring_Tools.xml b/en-US/System_Monitoring_Tools.xml
index 3c92836..1098adc 100644
--- a/en-US/System_Monitoring_Tools.xml
+++ b/en-US/System_Monitoring_Tools.xml
@@ -365,6 +365,43 @@ Swap:         4095          0       4095</screen>
     <indexterm>
       <primary>file systems</primary>
     </indexterm>
+    <section id="s2-sysinfo-filesystems-lsblk">
+      <title>Using the lsblk Command</title>
+      <indexterm>
+        <primary><command>lsblk</command></primary>
+      </indexterm>
+      <para>
+        The <command>lsblk</command> command displays a list of available block devices, for example:
+      </para>
+      <screen>~]$ <command>lsblk</command>
+NAME                            MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
+sda                               8:0    0 465.8G  0 disk 
+|-sda1                            8:1    0     2G  0 part 
+|-sda2                            8:2    0    64G  0 part 
+| |-vg_rhel-lv_root (dm-1)     253:1    0    16G  0 lvm  
+| `-vg_rhel-lv_home (dm-2)     253:2    0    48G  0 lvm  
+|-sda3                            8:3    0     4G  0 part [SWAP]
+`-sda4                            8:4    0 395.8G  0 part 
+  `-vg_test-lv_fedora_16 (dm-0) 253:0    0    20G  0 lvm  /
+sr0                              11:0    1  1024M  0 rom</screen>
+      <para>
+        By default, <command>lsblk</command> lists block devices in a tree-like format. To display the information as an ordinary list, add the <option>-l</option> command line option:
+      </para>
+      <screen>~]$ <command>lsblk -l</command>
+NAME                        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
+sda                           8:0    0 465.8G  0 disk 
+sda1                          8:1    0     2G  0 part 
+sda2                          8:2    0    64G  0 part 
+vg_rhel-lv_root (dm-1)     253:1    0    16G  0 lvm  
+vg_rhel-lv_home (dm-2)     253:2    0    48G  0 lvm  
+sda3                          8:3    0     4G  0 part [SWAP]
+sda4                          8:4    0 395.8G  0 part 
+vg_test-lv_fedora_16 (dm-0) 253:0    0    20G  0 lvm  /
+sr0                          11:0    1  1024M  0 rom</screen>
+      <para>
+        For a complete list of available command line options, refer to the <emphasis role="bold">lsblk</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