Skip to contentSkip to conversation

Add man page entry for dmsetup udevflags

PATCH New Peter Rajnoha 1 participant 1 message Oct 19, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 Add man page entry for dmsetup udevflags

man/dmsetup.8.in +15 -0
index 934372e..25cb857 100644
@@ -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_<flag_name>='1', DM_UDEV_FLAG_<flag_position>='1' otherwise.
+Subsystem udev flags don't have symbolic names assigned and these ones are
+always reported as DM_SUBSYSTEM_UDEV_FLAG_<flag_position>='1'. There are
+16 udev flags altogether.
+.br
 .IP \fBudevcomplete
 .I cookie
 .br