mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
man: dmsetup mangle also processes UUIDs now
This commit is contained in:
parent
470d1a2f54
commit
a5306421dd
@ -193,9 +193,9 @@ Requires kernel driver version 4.16.0 or above.
|
|||||||
.TP
|
.TP
|
||||||
.IR \fB\-\-manglename \ < mangling_mode >
|
.IR \fB\-\-manglename \ < mangling_mode >
|
||||||
Mangle any character not on a whitelist using mangling_mode when
|
Mangle any character not on a whitelist using mangling_mode when
|
||||||
processing device-mapper device names. The names are mangled on
|
processing device-mapper device names and UUIDs. The names and UUIDs
|
||||||
input and unmangled on output where the mangling_mode is one of:
|
are mangled on input and unmangled on output where the mangling_mode
|
||||||
none (no mangling), hex (always do the mangling) and auto
|
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
|
(only do the mangling if not mangled yet, do nothing if already
|
||||||
mangled, error on mixed; this is used by default).
|
mangled, error on mixed; this is used by default).
|
||||||
Character whitelist: 0-9, A-Z, a-z, #+-.:=@_. This whitelist is
|
Character whitelist: 0-9, A-Z, a-z, #+-.:=@_. This whitelist is
|
||||||
@ -401,10 +401,14 @@ driver, adding, changing or removing nodes as necessary.
|
|||||||
.B mangle
|
.B mangle
|
||||||
.RI [ device_name ]
|
.RI [ device_name ]
|
||||||
.br
|
.br
|
||||||
Ensure existing device-mapper device name is in the correct mangled
|
Ensure existing device-mapper device name and UUID is in the correct mangled
|
||||||
form containing only whitelisted characters (supported by udev) and do
|
form containing only whitelisted characters (supported by udev) and do
|
||||||
a rename if necessary. Any character not on the whitelist will be mangled
|
a rename if necessary. Any character not on the whitelist will be mangled
|
||||||
based on the --manglename settting.
|
based on the --manglename setting. Automatic rename works only for device
|
||||||
|
names and not for device UUIDs because the kernel does not allow changing
|
||||||
|
the UUID of active devices. Any incorrect UUIDs are reported only and they
|
||||||
|
must be manually corrected by deactivating the device first and then
|
||||||
|
reactivating it with proper mangling mode used (see also --manglename).
|
||||||
.br
|
.br
|
||||||
.HP
|
.HP
|
||||||
.B remove
|
.B remove
|
||||||
|
Loading…
Reference in New Issue
Block a user