svn commit: r324274 - stable/11/etc/defaults

Edward Tomasz Napierala trasz at FreeBSD.org
Wed Oct 4 12:06:25 UTC 2017


Author: trasz
Date: Wed Oct  4 12:06:24 2017
New Revision: 324274
URL: https://svnweb.freebsd.org/changeset/base/324274

Log:
  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.

Modified:
  stable/11/etc/defaults/rc.conf
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/etc/defaults/rc.conf
==============================================================================
--- stable/11/etc/defaults/rc.conf	Wed Oct  4 12:04:35 2017	(r324273)
+++ stable/11/etc/defaults/rc.conf	Wed Oct  4 12:06:24 2017	(r324274)
@@ -90,7 +90,7 @@ geli_autodetach="YES"	# Automatically detach on last c
 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.


More information about the svn-src-stable mailing list