diff --git a/man/dmsetup.8.in b/man/dmsetup.8.in index 934372e50..ebf422eb2 100644 --- a/man/dmsetup.8.in +++ b/man/dmsetup.8.in @@ -64,6 +64,9 @@ dmsetup \- low level logical volume management .B dmsetup mknodes .I [device_name] .br +.B dmsetup udevflags +.I cookie +.br .B dmsetup udevcomplete .I cookie .br @@ -303,6 +306,18 @@ is displayed. .IP \fBtargets .br Displays the names and versions of the currently-loaded targets. +.br +.IP \fBudevflags +.I cookie +.br +Parses given cookie value and extracts any udev control flags encoded. +The output is in environment key format that is suitable for use in udev +rules. If the flag has its symbolic name assigned then the ouput is +DM_UDEV_FLAG_='1', DM_UDEV_FLAG='1' otherwise. +Subsystem udev flags don't have symbolic names assigned and these ones are +always reported as DM_SUBSYSTEM_UDEV_FLAG='1'. There are +16 udev flags altogether. +.br .IP \fBudevcomplete .I cookie .br