1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

man: dmsetup manglename

More updates to manglename option.
Add reference to LVM2 resource page, since for a long time,
this is the right places for sources for libdevmapper....
This commit is contained in:
Zdenek Kabelac 2014-06-11 10:52:16 +02:00
parent 4db71422a2
commit f845afe7cf

View File

@ -192,13 +192,16 @@ When returning any table information from the kernel report on the
inactive table instead of the live table.
Requires kernel driver version 4.16.0 or above.
.TP
.IR \fB\-\-manglename \ < mangling_mode >
.IR \fB\-\-manglename \ { none | hex | auto }
Mangle any character not on a whitelist using mangling_mode when
processing device-mapper device names and UUIDs. The names and UUIDs
are mangled on input and unmangled on output where the mangling_mode
is one of: none (no mangling), hex (always do the mangling) and auto
(only do the mangling if not mangled yet, do nothing if already
mangled, error on mixed; this is used by default).
are mangled on input and unmangled on output where the mangling mode
is one of:
\fInone\fP (no mangling),
\fIhex\fP (always do the mangling) and
\fIauto\fP (only do the mangling if not mangled yet, do nothing
if already mangled, error on mixed)
Default mode is \fI#DEFAULT_MANGLING#\fP.
Character whitelist: 0-9, A-Z, a-z, #+-.:=@_. This whitelist is
also supported by udev. Any character not on a whitelist is replaced
with its hex value (two digits) prefixed by \\x.
@ -386,7 +389,7 @@ If neither is supplied, reads a table from standard input.
.br
Wait for any I/O in-flight through the device to complete, then
replace the table with a new table that fails any new I/O
sent to the device. If successful, this should release any devices
sent to the device. If successful, this should release any devices
held open by the device's table(s).
.br
.HP
@ -612,7 +615,7 @@ Each line of the table specifies a single target and is of the form:
.B target_type
.RI < target_args >
.P
Simple target types and <target_args> include:
Simple target types and <target_args> include:
.HP
.B linear
.I destination_device start_sector
@ -683,8 +686,8 @@ Supports snapshots of devices.
.P
To find out more about the various targets and their table formats and status
lines, please read the files in the Documentation/device-mapper directory in
the kernel source tree.
(Your distribution might include a copy of this information in the
the kernel source tree.
(Your distribution might include a copy of this information in the
documentation directory for the device-mapper package.)
.SH EXAMPLES
@ -718,11 +721,13 @@ A cookie to use for all relevant commands to synchronize with udev processing.
It is an alternative to using \fB\-\-udevcookie\fP option.
.TP
.B DM_DEFAULT_NAME_MANGLING_MODE
A default mangling mode. Defaults to "#DEFAULT_MANGLING#"
A default mangling mode. Defaults to "\fI#DEFAULT_MANGLING#\fP"
and it is an alternative to using \fB\-\-manglename\fP option.
.SH AUTHORS
Original version: Joe Thornber (thornber@redhat.com)
.SH SEE ALSO
LVM2 resource page https://www.sourceware.org/lvm2/
.br
Device-mapper resource page: http://sources.redhat.com/dm/