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.
master
Michal Soltys 2011-06-02 23:22:15 +02:00 committed by Harald Hoyer
parent 21b691152c
commit c60dbcc0aa
1 changed files with 2 additions and 2 deletions

View File

@ -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"