freebsd-dev/libexec/rc
Leandro Lupori e9f87d29a8 Add fsck_flags config option
On UFS with SU+J, sometimes fsck's default recovery from journal marks the
filesystem as clean but some errors remain.

With SU only, default fsck in preen mode sometimes thinks all errors have
been fixed but some still remain.

To address the issues above, this change adds a new config option:
fsck_flags.  By default it's set to -p, but the user may change it to -y
or -f -y, for instance, to force a full fsck after a system crash.

Submitted by:	jhibbits@ (original version)
Reviewed by:	mckusick
Differential Revision:	https://reviews.freebsd.org/D24087
2020-03-18 13:09:47 +00:00
..
rc.d Add fsck_flags config option 2020-03-18 13:09:47 +00:00
Makefile pkgbase: Move rc scripts and related files to their own packages 2019-09-05 14:08:45 +00:00
netstart
network.subr network.subr: improve configuration of cloned gif(4) interfaces 2019-04-05 22:45:08 +00:00
pccard_ether
rc
rc.bsdextended pkgbase: Really move rc.bsdextended 2019-05-22 07:39:59 +00:00
rc.conf Add fsck_flags config option 2020-03-18 13:09:47 +00:00
rc.firewall pkgbase: Really move rc.firewall 2019-05-22 07:38:54 +00:00
rc.initdiskless Make mdmfs verbose if diskless boot is verbose. 2019-04-26 14:44:50 +00:00
rc.resume rcorder(8): add support for /etc/rc.resume, so it calls "rcorder -k resume" 2018-10-27 17:21:13 +00:00
rc.sendmail pkgbase: Really move rc.sendmail 2019-05-22 07:40:39 +00:00
rc.shutdown rc.shutdown: kill shutdown process after logging message 2019-12-07 00:33:08 +00:00
rc.subr Remove trailing tab. 2019-10-27 18:27:25 +00:00
rc.suspend