mirror of
git://sourceware.org/git/lvm2.git
synced 2025-04-29 18:50:41 +03:00
19 lines
617 B
Plaintext
19 lines
617 B
Plaintext
# Copyright (C) 2009 Red Hat, Inc. All rights reserved.
|
|
#
|
|
# This file is part of LVM2.
|
|
|
|
# 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"
|