mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-27 17:55:47 +03:00
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).
This commit is contained in:
parent
6d2a79432b
commit
1ddaffda88
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user