xref: /netbsd-src/external/gpl2/lvm2/dist/udev/95-dm-notify.rules (revision 7c604eea85b4f330dc75ffe65e947f4d73758aa0)
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
12ENV{DM_COOKIE}=="?*", RUN+="$env{DM_SBIN_PATH}/dmsetup udevcomplete $env{DM_COOKIE}"
13