diff options
author | Jan Safranek <jsafrane@redhat.com> | 2013-08-16 16:28:36 +0200 |
---|---|---|
committer | Jan Safranek <jsafrane@redhat.com> | 2013-08-16 16:28:36 +0200 |
commit | 6af7007ba85f83694e5d45e79baacb918e36e860 (patch) | |
tree | 9600235babacd0ffe6ceabe70edb2aa4ba7948c4 /commands/storage/doc | |
parent | 91c7f8f2edb5be6f7f3f6a8fe85318240d7bf8a5 (diff) | |
download | openlmi-scripts-6af7007ba85f83694e5d45e79baacb918e36e860.tar.gz openlmi-scripts-6af7007ba85f83694e5d45e79baacb918e36e860.tar.xz openlmi-scripts-6af7007ba85f83694e5d45e79baacb918e36e860.zip |
Fixed documentation of 'devices' command.
Diffstat (limited to 'commands/storage/doc')
-rw-r--r-- | commands/storage/doc/cmdline.rst | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/commands/storage/doc/cmdline.rst b/commands/storage/doc/cmdline.rst index 62fb9f0..1ab4742 100644 --- a/commands/storage/doc/cmdline.rst +++ b/commands/storage/doc/cmdline.rst @@ -7,9 +7,14 @@ These commands allow listing and manipulation with block devices. device ------ +Basic device information. + Usage: - lmi device list [<devices>]... - lmi device show [<devices>]... + device list [<devices>]... + device show [<devices>]... + device depends [ --deep ] [<devices>]... + device provides [ --deep ] [<devices>]... + device tree [<device>] Commands: list List short information about given device. If no devices @@ -18,6 +23,29 @@ Commands: show Show detailed information about given devices. If no devices are provided, all of them are displayed. + provides Show devices, which are created from given devices + (= show children of the devices). + + For example, if disk is provided, all partitions on it are + returned. If 'deep' is used, all RAIDs, Volume Groups and + Logical Volumes indirectly allocated from it are returned too. + + depends Show devices, which are required by given devices to operate + correctly (= show parents of the devices). + + For example, if a Logical Volume is provided, its Volume Group + is returned. If 'deep' is used, also all Physical Volumes and + disk are returned. + + tree Show tree of devices, similar to lsblk. + (Note that the output is really crude and needs to be worked + on). + + If no device is provided, all devices are shown, starting + with physical disks. + + If a device is provided, tree starts with the device + and all dependent devices are shown. partition-table --------------- |