projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6aca2e0
)
check for root after udevadm settle returns
author
Harald Hoyer
<harald@redhat.com>
Mon, 13 Jul 2009 11:54:44 +0000
(13:54 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Mon, 13 Jul 2009 13:03:11 +0000
(15:03 +0200)
modules.d/99base/init
patch
|
blob
|
history
diff --git
a/modules.d/99base/init
b/modules.d/99base/init
index
fe062eb
..
bced5b2
100755
(executable)
--- a/
modules.d/99base/init
+++ b/
modules.d/99base/init
@@
-103,6
+103,12
@@
while :; do
else
udevadm settle --timeout=30
fi
+
+ # bail out, if we have mounted the root filesystem
+ [ -d "$NEWROOT/proc" ] && break;
+ # check if root can be mounted
+ [ -e /dev/root ] && break;
+
unset queuetriggered
if [ -f /initqueue/work ]; then
rm /initqueue/work