Imported Upstream version 2.02.79
[platform/upstream/device-mapper.git] / udev / 95-dm-notify.rules
1 # Copyright (C) 2009 Red Hat, Inc. All rights reserved.
2 #
3 # This file is part of LVM2.
4
5 # Udev rules for device-mapper devices.
6 #
7 # These rules are responsible for sending a notification to a process
8 # waiting for completion of udev rules. The process is identified by
9 # a cookie value sent within "change" and "remove" events (the cookie
10 # value is set before by that process for every action requested).
11
12 ENV{DM_COOKIE}=="?*", RUN+="$env{DM_SBIN_PATH}/dmsetup udevcomplete $env{DM_COOKIE}"