summaryrefslogtreecommitdiffstats
path: root/shutdown
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-11-17 05:01:22 +0100
committerDave Reisner <dreisner@archlinux.org>2012-11-24 00:01:34 +0100
commit1fc9e188c81204d57715dfd2916737b3e824f43d (patch)
treed9b7d6a9a15cae1f868260acd2680f170838fd76 /shutdown
parent4fd768957e6fae85e4019ff7621693e0683eab84 (diff)
downloadmkinitcpio-1fc9e188c81204d57715dfd2916737b3e824f43d.tar.gz
mkinitcpio-1fc9e188c81204d57715dfd2916737b3e824f43d.tar.xz
shutdown: avoid talking to udev via dmsetup
Similar to c257b0d7b4dd. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'shutdown')
-rw-r--r--shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/shutdown b/shutdown
index 88ec9ca..c705541 100644
--- a/shutdown
+++ b/shutdown
@@ -18,7 +18,7 @@ stop_device() {
;;
lvm|dm)
read devname <"$1/dm/name"
- dmsetup remove "$devname"
+ dmsetup --noudevsync remove "$devname"
;;
raid*)
# wait for arrays with external metadata to be marked as