diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2005-02-10 09:03:55 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:31:03 -0700 |
commit | 69aa6dfb7081de376769cf712d1a8832f4346516 (patch) | |
tree | f16b036de774445577556e4005e48da3312bb464 /udev.8.in | |
parent | 866bb54704e9d955318e0dd6089acfb67d36bfd2 (diff) |
[PATCH] add %P modifier to query the node name of the parent device
Events for partition devies may want to read the main block device
name to compose it's own name or read a disklabel from the main device.
SUBSYSTEM="block", KERNEL="*[1-9]", NAME="%P-p%n"
will append the partition number to the name of the main block device.
Diffstat (limited to 'udev.8.in')
-rw-r--r-- | udev.8.in | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -218,6 +218,9 @@ all remaining parts of the result string are substituted: The name of a created temporary device node to provide access to the device from a external program. .TP +.B %P +The node name of the parent device. +.TP .BI %s{ filename } The content of a sysfs attribute. .TP |