projects
/
grml-udev-config.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add watch option for dm devices to get change notification if devic changes.
[grml-udev-config.git]
/
debian
/
grml-udev-config.grml-dm.udev
diff --git a/debian/grml-udev-config.grml-dm.udev
b/debian/grml-udev-config.grml-dm.udev
new file mode 100644
(file)
index 0000000..
5db3e5c
--- /dev/null
+++ b/
debian/grml-udev-config.grml-dm.udev
@@ -0,0
+1,6
@@
+# should be part of the device-mapper rules
+# Watch the device node with inotify, when closed after being opened for
+# writing, a change uevent will be synthesised.
+
+KERNEL=="dm-*", OPTIONS+="watch"
+