From 66300c5701d267f875613f094264c0531e826cce Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sun, 5 May 2019 22:00:16 -0400 Subject: [PATCH] e2scrub: tag the *.e2scrub LV's with UDISK_IGNORE in udev Force the *.e2scrub LV's to be ignored by udisk. Addresses-Debian-Bug: #926112 Signed-off-by: Theodore Ts'o --- scrub/e2scrub.rules.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrub/e2scrub.rules.in b/scrub/e2scrub.rules.in index 5e1b35b..b6dc30b 100644 --- a/scrub/e2scrub.rules.in +++ b/scrub/e2scrub.rules.in @@ -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" -- 1.8.3.1