On Sat, 29 Sep 2012 21:07:14 -0400, Johnny A. Solbu <[email protected]> wrote:
I have just discovered that on Debian, one can force the system to run "fsck -y" on bootup, to make it automatically fix errors whether they require human intervention or not, by setting "FSCKFIX=yes" in /etc/default/rcS". I have also discovered that something similar is possible for Mandriva and Mageia, by activting "AUTOFSCK_DEF_CHECK=yes" in /etc/sysconfig/autofsck. Will this setting also force fsck to run with the "-y" option?
No. Take a look at /usr/lib/dracut/modules.d/95rootfs-block/mount-root.sh If you want to add -y, you could either put "fsckoptions='-y'" (without the double quotes) in /etc/sysconfig/readonly-root or put the -y in /fsckoptions. Regards, Dave Hodgins
