summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2012-01-11 12:46:19 +0000
committerPeter Rajnoha <prajnoha@redhat.com>2012-01-11 12:46:19 +0000
commite33fd978a8a56228677c14612fce99b3b3588125 (patch)
treeef4cc84dae16f6c0bf607b1abf54c1f8bf7959bc /man
parent17c3e42b21f816a2c6d88b9c0c11e40bae28af5d (diff)
downloadlvm2-e33fd978a8a56228677c14612fce99b3b3588125.tar.gz
lvm2-e33fd978a8a56228677c14612fce99b3b3588125.tar.xz
lvm2-e33fd978a8a56228677c14612fce99b3b3588125.zip
Support different device name types on output of dmsetup deps, ls and info -c command.
Add 'blkdevname' and 'blkdevs_used' field to dmsetup info -c -o. Add 'blkdevname' option to dmsetup ls --tree to see block device names. Add '-o options' to dmsetup deps and ls to select device name type on output.
Diffstat (limited to 'man')
-rw-r--r--man/dmsetup.8.in24
1 files changed, 16 insertions, 8 deletions
diff --git a/man/dmsetup.8.in b/man/dmsetup.8.in
index f3e230c2..7b8d97e2 100644
--- a/man/dmsetup.8.in
+++ b/man/dmsetup.8.in
@@ -20,6 +20,8 @@ dmsetup \- low level logical volume management
.RE
.br
.B dmsetup deps
+.RB [ \-o
+.IR options ]
.RI [ device_name ]
.br
.B dmsetup help
@@ -51,10 +53,9 @@ dmsetup \- low level logical volume management
.IR target_type ]
.RB [ \-\-exec
.IR command ]
-.RB [ \-\-tree
-.RS
+.RB [ \-\-tree ]
.RB [ \-o
-.IR options ]]
+.IR options ]
.RE
.br
.B dmsetup message
@@ -268,10 +269,14 @@ See below for information on the table format.
.br
.TP
.B deps
+.RB [ \-o
+.IR options ]
.RI [ device_name ]
.br
-Outputs a list of (major, minor) pairs for devices referenced by the
-live table for the specified device.
+Outputs a list of devices referenced by the live table for the specified
+device. Device names on output can be customised by following options:
+devno (major and minor pair, used by default), blkdevname (block device name),
+devname (map name for device-mapper devices, equal to blkdevname otherwise).
.br
.TP
.B help
@@ -323,17 +328,20 @@ Precede any sort_field with - for a reverse sort on that column.
.IR target_type ]
.RB [ \-\-exec
.IR command ]
-.RB [ \-\-tree
+.RB [ \-\-tree ]
.RB [ \-o
-.IR options ]]
+.IR options ]
.br
List device names. Optionally only list devices that have at least
one target of the specified type. Optionally execute a command for
each device. The device name is appended to the supplied command.
+Device names on output can be customised by following options: devno (major
+and minor pair, used by default), blkdevname (block device name),
+devname (map name for device-mapper devices, equal to blkdevname otherwise).
--tree displays dependencies between devices as a tree.
It accepts a comma-separate list of options.
Some specify the information displayed against each node:
-device/nodevice; active, open, rw, uuid.
+device/nodevice; blkdevname; active, open, rw, uuid.
Others specify how the tree is displayed:
ascii, utf, vt100; compact, inverted, notrunc.
.br