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:
52da8a5
)
rootfs-block/mount-root.sh: corrected check for journaldev
author
Harald Hoyer
<harald@redhat.com>
Tue, 31 Jul 2012 11:28:45 +0000
(13:28 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Tue, 31 Jul 2012 11:28:45 +0000
(13:28 +0200)
modules.d/95rootfs-block/mount-root.sh
patch
|
blob
|
history
diff --git
a/modules.d/95rootfs-block/mount-root.sh
b/modules.d/95rootfs-block/mount-root.sh
index
a6cba12
..
0467a55
100755
(executable)
--- a/
modules.d/95rootfs-block/mount-root.sh
+++ b/
modules.d/95rootfs-block/mount-root.sh
@@
-11,8
+11,8
@@
mount_root() {
# sanity - determine/fix fstype
rootfs=$(det_fs "${root#block:}" "$fstype")
- journaldev=$(getarg
root.journaldev
)
- if [ -n
$journaldev
]; then
+ journaldev=$(getarg
"root.journaldev="
)
+ if [ -n
"$journaldev"
]; then
case "$rootfs" in
xfs)
rflags="${rflags:+${rflags},}logdev=$journaldev"