From fb8006b1a297c6c1c489884ad780614ca27766a0 Mon Sep 17 00:00:00 2001 From: Thomas Koehler Date: Thu, 3 Feb 2011 16:56:01 +0100 Subject: [PATCH] bugfix: throw in a "udevadm settle" to avoid occasional failing mount attempts --- grml-crypt | 1 + 1 file changed, 1 insertion(+) diff --git a/grml-crypt b/grml-crypt index d45a787..7722474 100755 --- a/grml-crypt +++ b/grml-crypt @@ -202,6 +202,7 @@ function actionStart if [ ! -d "$MOUNT_POINT_" ]; then execute "mkdir -p '$MOUNT_POINT_'" || die "failed to create mountpoint $MOUNT_POINT_" fi + udevadm settle execute "mount $margs_ $ADDITIONAL_MOUNT_ARGS_ $DM_PATH_ $MOUNT_POINT_" die } -- 2.1.4