summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2017-10-04 12:06:24 +0000
committertrasz <trasz@FreeBSD.org>2017-10-04 12:06:24 +0000
commit8430527c119726c7b1fa826dcf935f4681a126a2 (patch)
tree32be84c47b98a5c5f54fcace3d5c9f25ffa866cd /etc
parentd242870974ab97017214a40adc7c0de074e34dd4 (diff)
downloadFreeBSD-src-8430527c119726c7b1fa826dcf935f4681a126a2.zip
FreeBSD-src-8430527c119726c7b1fa826dcf935f4681a126a2.tar.gz
MFC r320892:
Make fsck_y_enable default to passing pass -R to fsck_ffs(8) in addition to -y. To me, fsck_y_enable means "try as hard as possible", and without -R, it... well, doesn't.
Diffstat (limited to 'etc')
-rw-r--r--etc/defaults/rc.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 18ee897..516da89 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -90,7 +90,7 @@ geli_autodetach="YES" # Automatically detach on last close.
root_rw_mount="YES" # Set to NO to inhibit remounting root read-write.
root_hold_delay="30" # Time to wait for root mount hold release.
fsck_y_enable="NO" # Set to YES to do fsck -y if the initial preen fails.
-fsck_y_flags="" # Additional flags for fsck -y
+fsck_y_flags="-T ffs:-R -T ufs:-R" # Additional flags for fsck -y
background_fsck="YES" # Attempt to run fsck in the background where possible.
background_fsck_delay="60" # Time to wait (seconds) before starting the fsck.
netfs_types="nfs:NFS smbfs:SMB" # Net filesystems.
OpenPOWER on IntegriCloud