summaryrefslogtreecommitdiffstats
path: root/udev/95-dm-notify.rules.in
blob: 80d59d37d3f27373efaf385b15664478c3f647fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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).

ENV{DM_COOKIE}=="?*", RUN+="(DM_EXEC)/dmsetup udevcomplete $env{DM_COOKIE}"