summaryrefslogtreecommitdiffstats
path: root/man/dmsetup.8.in
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2007-01-29 19:35:24 +0000
committerAlasdair Kergon <agk@redhat.com>2007-01-29 19:35:24 +0000
commit34c710712d03be8d2293577b960049ac2532211d (patch)
treee54db54aee08f33c804bd705b17114dcbecb4635 /man/dmsetup.8.in
parent85a0cecf68dca1a7890a4a204937249641fd3aef (diff)
downloadlvm2-34c710712d03be8d2293577b960049ac2532211d.tar.gz
lvm2-34c710712d03be8d2293577b960049ac2532211d.tar.xz
lvm2-34c710712d03be8d2293577b960049ac2532211d.zip
Add recent reporting options to dmsetup man page.
Revise some report fields names.
Diffstat (limited to 'man/dmsetup.8.in')
-rw-r--r--man/dmsetup.8.in33
1 files changed, 28 insertions, 5 deletions
diff --git a/man/dmsetup.8.in b/man/dmsetup.8.in
index d1d20bdd..5b2ed9f8 100644
--- a/man/dmsetup.8.in
+++ b/man/dmsetup.8.in
@@ -3,6 +3,9 @@
dmsetup \- low level logical volume management
.SH SYNOPSIS
.ad l
+.B dmsetup help
+.I [-c|-C|--columns]
+.br
.B dmsetup create
.I device_name [-u uuid] [--notable | --table <table> | table_file]
.br
@@ -33,21 +36,25 @@ dmsetup \- low level logical volume management
.B dmsetup message
.I device_name sector message
.br
-.B dmsetup ls [--target target_type] [--exec command] [--tree [-o options]]
+.B dmsetup ls
+.I [--target target_type] [--exec command] [--tree [-o options]]
.br
.B dmsetup info
.I [device_name]
.br
-.B dmsetup info -c|-C|--columns [--noheadings] [-o name]
+.B dmsetup info -c|-C|--columns
+.I [--noheadings] [--separator separator] [-o fields] [-O|--sort sort_fields]
.I [device_name]
.br
.B dmsetup deps
.I [device_name]
.br
-.B dmsetup status [--target target_type]
+.B dmsetup status
+.I [--target target_type]
.I [device_name]
.br
-.B dmsetup table [--target target_type]
+.B dmsetup table
+.I [--target target_type]
.I [device_name]
.br
.B dmsetup wait
@@ -103,7 +110,7 @@ Tell the kernel not to supply the open reference count for the device.
When creating a device, don't load any table.
.IP \fB-o|--options
.br
-Specify which fields to display. Only \fB-o\ name\fP is supported.
+Specify which fields to display.
.IP \fB-r|--readonly
.br
Set the table being loaded read-only.
@@ -136,6 +143,11 @@ See below for information on the table format.
.br
Outputs a list of (major, minor) pairs for devices referenced by the
live table for the specified device.
+.IP \fBhelp
+.I [-c|-C|--columns]
+.br
+Outputs a summary of the commands available, optionally including
+the list of report fields.
.IP \fBinfo
.I [device_name]
.br
@@ -154,6 +166,17 @@ Outputs some brief information about the device in the form:
Number of targets in the live table
.br
UUID
+.IP \fBinfo -c|-C|--columns
+.I [--noheadings] [--separator separator] [-o fields] [-O|--sort sort_fields]
+.I [device_name]
+.br
+Output you can customise.
+Fields are comma-separated and chosen from the following list:
+name, major, minor, attr, open, segments, events, uuid.
+Attributes are: (L)ive, (I)nactive, (s)uspended, (r)ead-only, read-(w)rite.
+Precede the list with '+' to append
+to the default selection of columns instead of replacing it.
+Precede any sort_field with - for a reverse sort on that column.
.IP \fBls
.I [--target target_type]
.I [--exec command]