From: Michal Soltys Date: Thu, 2 Jun 2011 21:22:15 +0000 (+0200) Subject: 95rootfs-block/mount-root.sh: comment out fstab generation X-Git-Tag: 012~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c60dbcc0aabb94e9e458c8b9b0b4b43cf9cb1dce;p=platform%2Fupstream%2Fdracut.git 95rootfs-block/mount-root.sh: comment out fstab generation fsck_single() operates directly on the device, so fstab is not necessary. fs-lib functions make sure fscks don't complain. Code is only commented out just in case I missed something. --- diff --git a/modules.d/95rootfs-block/mount-root.sh b/modules.d/95rootfs-block/mount-root.sh index 3a43a666..cc243d79 100755 --- a/modules.d/95rootfs-block/mount-root.sh +++ b/modules.d/95rootfs-block/mount-root.sh @@ -101,8 +101,8 @@ mount_root() { umount "$NEWROOT" # backslashes are treated as escape character in fstab - esc_root=$(echo ${root#block:} | sed 's,\\,\\\\,g') - printf '%s %s %s %s 1 1 \n' "$esc_root" "$NEWROOT" "$rootfs" "$rflags" >/etc/fstab + # esc_root=$(echo ${root#block:} | sed 's,\\,\\\\,g') + # printf '%s %s %s %s 1 1 \n' "$esc_root" "$NEWROOT" "$rootfs" "$rflags" >/etc/fstab if [ -z "$fastboot" -a "$READONLY" != "yes" ] && ! strstr "${rflags}" _netdev; then fsck_single "${root#block:}" "$rootfs" "$fsckoptions"