From: Michal Soltys Date: Thu, 2 Jun 2011 21:22:13 +0000 (+0200) Subject: 95rootfs-block/mount-root.sh: '-a' for ext? is handled in fs-lib now X-Git-Tag: 012~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ddaffda88e111c8608279ecff947ee98a724699;p=thirdparty%2Fdracut.git 95rootfs-block/mount-root.sh: '-a' for ext? is handled in fs-lib now 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). --- diff --git a/modules.d/95rootfs-block/mount-root.sh b/modules.d/95rootfs-block/mount-root.sh index eccc01978..484593050 100755 --- a/modules.d/95rootfs-block/mount-root.sh +++ b/modules.d/95rootfs-block/mount-root.sh @@ -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 \