On Thu, Jan 18, 2018 at 12:22:21PM +0000, Stuart Henderson wrote: > A flag (fsck_flags) would be a better idea than a file, and more > flexible (users with many disks and low RAM could use the same > mechanism to force "-l 1" for example).
fsck_flags would be an idea. I prefer not to bring local changes into /etc/rc Kind regards, Job diff --git etc/rc etc/rc index c88e13ce7ab..bfe76b1c598 100644 --- etc/rc +++ etc/rc @@ -349,7 +349,7 @@ if [[ -e /fastboot ]]; then echo "Fast boot: skipping disk checks." elif [[ $1 == autoboot ]]; then echo "Automatic boot in progress: starting file system checks." - do_fsck + do_fsck $fsck_flags fi # From now on, allow user to interrupt (^C) the boot process. diff --git etc/rc.conf etc/rc.conf index 05146d58a4e..7f116896b2d 100644 --- etc/rc.conf +++ etc/rc.conf @@ -100,6 +100,7 @@ multicast=NO # Reject IPv4 multicast packets by default # miscellaneous other flags amd_master=/etc/amd/master # AMD 'master' map +fsck_flags= # "-l 1" to limit the number of parallel checks library_aslr=YES # set to NO to disable library randomization savecore_flags= # "-z" to compress spamd_black=NO # set to YES to run spamd without greylisting