Whamcloud - gitweb
e2scrub: tag the *.e2scrub LV's with UDISK_IGNORE in udev
authorTheodore Ts'o <tytso@mit.edu>
Mon, 6 May 2019 02:00:16 +0000 (22:00 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 6 May 2019 14:15:41 +0000 (10:15 -0400)
Force the *.e2scrub LV's to be ignored by udisk.

Addresses-Debian-Bug: #926112

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
scrub/e2scrub.rules.in

index 5e1b35b..b6dc30b 100644 (file)
@@ -1,2 +1,2 @@
 # Try to hide our fsck snapshots from udev's /dev/disk linking...
-ACTION=="add|change", ENV{DM_LV_NAME}=="*.e2scrub", OPTIONS="link_priority=-100"
+ACTION=="add|change", ENV{DM_LV_NAME}=="*.e2scrub", ENV{UDISKS_IGNORE}="1", OPTIONS="link_priority=-100"