Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6cf3e6
)
e2scrub: tag the *.e2scrub LV's with UDISK_IGNORE in udev
author
Theodore Ts'o
<tytso@mit.edu>
Mon, 6 May 2019 02:00:16 +0000
(22:00 -0400)
committer
Theodore 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
patch
|
blob
|
history
diff --git
a/scrub/e2scrub.rules.in
b/scrub/e2scrub.rules.in
index
5e1b35b
..
b6dc30b
100644
(file)
--- 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"