Samuel Mendoza-Jonas | d939857 | 2017-06-05 13:22:05 +1000 | [diff] [blame] | 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+="/usr/sbin/dmsetup udevcomplete $env{DM_COOKIE}" |