[arch-projects] [mkinitcpio] [PATCH 02/18] shutdown: avoid talking to udev via dmsetup

Dave Reisner dreisner at archlinux.org
Fri Nov 23 18:48:47 EST 2012


Similar to c257b0d7b4dd.

Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
 shutdown | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
1.8.0



More information about the arch-projects mailing list