summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2009-06-10 19:03:23 +0000
committeravg <avg@FreeBSD.org>2009-06-10 19:03:23 +0000
commit72ecca2c268bc360ea02c2241bf2426bf22d443b (patch)
tree01eeef823a4efe6ac63ca0321fb08f32257f7b3b /etc/defaults
parent20201c3a83c2f5f4bb3aa40ed833dcf29b9f6fe5 (diff)
downloadFreeBSD-src-72ecca2c268bc360ea02c2241bf2426bf22d443b.zip
FreeBSD-src-72ecca2c268bc360ea02c2241bf2426bf22d443b.tar.gz
rc.d/fsck: allow additional options for fsck_y_enable via fsck_y_flags
Primary intention is to allow to pass -C option to avoid (re-)checking clean filesystems when preening fails and fsck -y kicks in. Submitted by: marck Reviewed by: current@ Approved by: jhb (mentor) MFC after: 1 week
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/rc.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index f381423..edeedae 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -83,6 +83,7 @@ geli_swap_flags="-e aes -l 256 -s 4096 -d" # Options for GELI-encrypted
root_rw_mount="YES" # Set to NO to inhibit remounting root read-write.
fsck_y_enable="NO" # Set to YES to do fsck -y if the initial preen fails.
+fsck_y_flags="" # 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 nfs4:NFS4 smbfs:SMB portalfs:PORTAL nwfs:NWFS" # Net filesystems.
OpenPOWER on IntegriCloud