summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2015-08-04 14:03:50 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2015-08-04 14:03:50 +0200
commitce1528359a3021e255fec59962f21b18d6bb027a (patch)
tree8e9229eebe8173196dcbd6aad9817b8ff1a33ab1
parentf02cdcff0084a323c9651d7ca2f22d60c83bcf3d (diff)
downloadlvm2-ce1528359a3021e255fec59962f21b18d6bb027a.tar.gz
man: document --nameprefixes
-rw-r--r--man/dmsetup.8.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/man/dmsetup.8.in b/man/dmsetup.8.in
index 14e393a76..ded7ca1e0 100644
--- a/man/dmsetup.8.in
+++ b/man/dmsetup.8.in
@@ -32,6 +32,7 @@ dmsetup \(em low level logical volume management
.br
.B dmsetup info
.BR \-c | \-C | \-\-columns
+.RB [ \-\-nameprefixes ]
.RB [ \-\-noheadings ]
.RB [ \-\-separator
.IR separator ]
@@ -236,6 +237,10 @@ Specify the minor number.
.BR \-n | \-\-notable
When creating a device, don't load any table.
.TP
+.BR \-\-nameprefixes
+Add a "DM_" prefix plus the field name to the output. Useful with --noheadings to produce a list of
+field=value pairs that can be used to set environment variables (for example, in udev(7) rules).
+.TP
.BR \-\-noheadings
Suppress the headings line when using columnar output.
.TP