95rootfs-block/mount-root.sh: '-a' for ext? is handled in fs-lib now
authorMichal Soltys <soltys@ziu.info>
Thu, 2 Jun 2011 21:22:13 +0000 (23:22 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 11 Aug 2011 12:27:23 +0000 (14:27 +0200)
Previously, '-a' was added for ext[234] filesystems if other
conflicting flag were not present. It's being done automatically
in fsck_drv_com() now (also for jfs and reiser).

modules.d/95rootfs-block/mount-root.sh

index eccc0197877d98cda9221874ca48187e55788392..484593050e815ce195bde4ab005c5036f89168b6 100755 (executable)
@@ -69,10 +69,6 @@ if [ -n "$root" -a -z "${root%%block:*}" ]; then
         fsckoptions="$AUTOFSCK_OPT $fsckoptions"
     fi
 
-    if ! strstr " $fsckoptions" " -y" && strstr "$rootfs" ext; then
-        fsckoptions="-a $fsckoptions"
-    fi
-
     rootopts=
     if getargbool 1 rd.fstab -n rd_NO_FSTAB \
         && ! getarg rootflags \