summaryrefslogtreecommitdiff
path: root/extras/multipath/libdevmapper/libdm-common.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-03-10 22:35:37 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:09 -0700
commite41016d3547ef704c0785ba197d36ef69de51260 (patch)
tree59dddd10a8d9bc90a84873e94d64650be7cf6577 /extras/multipath/libdevmapper/libdm-common.c
parent3e16482d259c4a768b24a82bc0ed0e3a77954210 (diff)
[PATCH] allow to specify node permissions in the rule
This allows to set the permissions along with the rule. This is not a general replacement for the permissions config, but it may be easier sometimes for the user to specify the permissions along with the rule, cause the permissions config file wants the final node name to match, which seems sometimes a bit difficult to guess, if format % chars are used in the NAME field. Any value not given in the rule is still be read from the permissions file or set to the default. This one will also work: BUS="usb", KERNEL="video*", NAME="my-%k", OWNER="$local" A few words to man page are also added and add_perm_dev() is moved into namedev_parse.c where it belongs to.
Diffstat (limited to 'extras/multipath/libdevmapper/libdm-common.c')
0 files changed, 0 insertions, 0 deletions