summaryrefslogtreecommitdiffstats
path: root/scrub/e2scrub.rules.in
diff options
context:
space:
mode:
Diffstat (limited to 'scrub/e2scrub.rules.in')
-rw-r--r--scrub/e2scrub.rules.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/scrub/e2scrub.rules.in b/scrub/e2scrub.rules.in
new file mode 100644
index 0000000..b6dc30b
--- /dev/null
+++ b/scrub/e2scrub.rules.in
@@ -0,0 +1,2 @@
+# Try to hide our fsck snapshots from udev's /dev/disk linking...
+ACTION=="add|change", ENV{DM_LV_NAME}=="*.e2scrub", ENV{UDISKS_IGNORE}="1", OPTIONS="link_priority=-100"