mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-04 09:18:36 +03:00
772f7d4188
- remove default permissions set in 95-dm-notify.rules (and add a hint in 12-dm-permissions.rules to set it by the user directly) - add multipath DM_ACTION=="PATH_FAILED" filter - remove unnecessary filters in the headers of the rules (we can simply use DM_UDEV_RULES_VSN instead) - fix symlink priorities in /dev/disk/ (snapshot volumes have low priority for FS UUID symlinks so it will not overwrite symlinks for the origin)
15 lines
529 B
Plaintext
15 lines
529 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).
|
|
|
|
SUBSYSTEM!="block", GOTO="dm_end"
|
|
KERNEL!="dm-[0-9]*", GOTO="dm_end"
|
|
ACTION!="change|remove", GOTO="dm_end"
|
|
|
|
ENV{DM_COOKIE}=="?*", RUN+="$env{DM_SBIN_PATH}/dmsetup udevcomplete $env{DM_COOKIE}"
|
|
|
|
LABEL="dm_end"
|