git: 2726074f81c5 - stable/13 - default rc.conf: Add new growfs_swap_size variable

From: Mike Karels <>
Date: Fri, 13 Jan 2023 20:59:42 UTC
The branch stable/13 has been updated by karels:


commit 2726074f81c51f3a1f8b3162f37e82258576299e
Author:     Mike Karels <>
AuthorDate: 2022-12-10 19:40:33 +0000
Commit:     Mike Karels <>
CommitDate: 2023-01-13 19:15:35 +0000

    default rc.conf: Add new growfs_swap_size variable
    Add new growfs_swap_size variable with a default value of the empty
    string, along with comments on other settings.  Used by the growfs
    Differential Revision:
    (cherry picked from commit af01b4722577903f91acc44f01bdcb8cdb2d65ad)
 libexec/rc/rc.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf
index e4f1ebe39de3..6b3aacacda61 100644
--- a/libexec/rc/rc.conf
+++ b/libexec/rc/rc.conf
@@ -120,6 +120,8 @@ 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.
 growfs_enable="NO"	# Set to YES to attempt to grow the root filesystem on boot
+growfs_swap_size=""	# Set to 0 to disable growfs swap, "" to default size,
+			# size in bytes to specify swap size.
 netfs_types="nfs:NFS smbfs:SMB" # Net filesystems.
 extra_netfs_types="NO"	# List of network extra filesystem types for delayed
 			# mount at startup (or NO).