95-dm-notify.rules 479 B

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