summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-06-13 01:18:18 +0200
committerDave Reisner <dreisner@archlinux.org>2012-06-13 01:18:18 +0200
commitc257b0d7b4dd1c3f9b63c6a27b68a27bc246acea (patch)
treecbbb3892ec974b9a4d81a3b10555c61b241a5281
parent7cf7ac4eb2c29a2b1aa748dae7658da5fbbc3a18 (diff)
downloadmkinitcpio-c257b0d7b4dd1c3f9b63c6a27b68a27bc246acea.tar.gz
mkinitcpio-c257b0d7b4dd1c3f9b63c6a27b68a27bc246acea.tar.xz
shutdown: don't alert udev on disable VGs
Fixes FS#30271. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r--shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/shutdown b/shutdown
index ce7de23..fd88105 100644
--- a/shutdown
+++ b/shutdown
@@ -25,7 +25,7 @@ stop_device() {
read devname <"$1/dm/name"
lvm lvdisplay -c "/dev/mapper/$devname" | {
IFS=: read _ vgname _
- lvm vgchange -an "$vgname"
+ lvm vgchange --noudevsync -an "$vgname"
}
;;
raid*)