Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Dec 2022 19:41:15 GMT
From:      Mike Karels <karels@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: af01b4722577 - main - default rc.conf: Add new growfs_swap_size variable
Message-ID:  <202212101941.2BAJfFm3085290@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by karels:

URL: https://cgit.FreeBSD.org/src/commit/?id=af01b4722577903f91acc44f01bdcb8cdb2d65ad

commit af01b4722577903f91acc44f01bdcb8cdb2d65ad
Author:     Mike Karels <karels@FreeBSD.org>
AuthorDate: 2022-12-10 19:40:33 +0000
Commit:     Mike Karels <karels@FreeBSD.org>
CommitDate: 2022-12-10 19:40:33 +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
    script.
    
    Differential Revision:  https://reviews.freebsd.org/D37464
---
 libexec/rc/rc.conf | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf
index 0495e003b9c5..d10855e1e5fa 100644
--- a/libexec/rc/rc.conf
+++ b/libexec/rc/rc.conf
@@ -122,6 +122,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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212101941.2BAJfFm3085290>