From: Harald Hoyer Date: Wed, 10 Nov 2010 19:01:30 +0000 (+0100) Subject: rootfs-block/mount-root.sh: default rootfs to auto, even without fstab X-Git-Tag: 008~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3817c2f13821849dbc7904f5c373d34ff8e3ef1b;p=platform%2Fupstream%2Fdracut.git rootfs-block/mount-root.sh: default rootfs to auto, even without fstab --- diff --git a/modules.d/95rootfs-block/mount-root.sh b/modules.d/95rootfs-block/mount-root.sh index 16a7bd0..476fa85 100755 --- a/modules.d/95rootfs-block/mount-root.sh +++ b/modules.d/95rootfs-block/mount-root.sh @@ -71,6 +71,7 @@ if [ -n "$root" -a -z "${root%%block:*}" ]; then fsckoptions="-a $fsckoptions" fi + rootfs=${fstype:-auto} rootopts= if getargbool 1 rd.fstab -n rd_NO_FSTAB \ && ! getarg rootflags \ @@ -79,7 +80,6 @@ if [ -n "$root" -a -z "${root%%block:*}" ]; then # if $NEWROOT/etc/fstab contains special mount options for # the root filesystem, # remount it with the proper options - rootfs=${fstype:-auto} rootopts="defaults" while read dev mp fs opts rest; do # skip comments