mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
252239bdac
Update dm-ioctl.h comments.
17 lines
647 B
Plaintext
17 lines
647 B
Plaintext
# Udev rules for device-mapper devices.
|
|
#
|
|
# These rules are responsible for sending a notification to a process
|
|
# waiting for completion of udev rules. The process is identified by
|
|
# a cookie value sent within "change" and "remove" events (the cookie
|
|
# value is set before by that process for every action requested).
|
|
# Also, it sets default permissions for DM devices if not set already.
|
|
|
|
SUBSYSTEM!="block", GOTO="dm_end"
|
|
KERNEL!="dm-[0-9]*", GOTO="dm_end"
|
|
ACTION!="change|remove", GOTO="dm_end"
|
|
|
|
ACTION=="change", OWNER:="root", GROUP:="root", MODE:="600"
|
|
ENV{DM_COOKIE}=="?*", RUN+="/sbin/dmsetup udevcomplete $env{DM_COOKIE}"
|
|
|
|
LABEL="dm_end"
|