<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in growfs</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>d0b2dbfa - Remove $FreeBSD$: one-line sh pattern</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/libexec/rc/rc.d/growfs#d0b2dbfa</link>
        <description>Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

            List of files:
            /freebsd-14.2/libexec/rc/rc.d/growfs</description>
        <pubDate>Wed, 16 Aug 2023 17:55:03 +0000</pubDate>
        <dc:creator>Warner Losh &lt;imp@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>0e2fdab2 - growfs script: fix config-dependent errors</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/libexec/rc/rc.d/growfs#0e2fdab2</link>
        <description>growfs script: fix config-dependent errors- awk sometimes formatted swapbase as floating point, which gpart  does not accept; force int.- Fix typo in code for checking vm.max_swap_pages.- While here, do not set kernel env if &quot;gpart add&quot; fails.- Add &quot;gpart show&quot; before modification to verbose output.Reported by:	marklmi at yahoo dot comTested by:	marklmi at yahoo dot com

            List of files:
            /freebsd-14.2/libexec/rc/rc.d/growfs</description>
        <pubDate>Wed, 04 Jan 2023 18:25:54 +0000</pubDate>
        <dc:creator>Mike Karels &lt;karels@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>4c8a2578 - growfs script: fixes</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/libexec/rc/rc.d/growfs#4c8a2578</link>
        <description>growfs script: fixesCannot use single quote in comment in awk script;add growfs_fstab to MakefileFixes:		4a30d7bb373c,d670a8f7c596

            List of files:
            /freebsd-14.2/libexec/rc/rc.d/growfs</description>
        <pubDate>Mon, 26 Dec 2022 14:45:17 +0000</pubDate>
        <dc:creator>Mike Karels &lt;karels@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>4a30d7bb - growfs script: add swap partition as well as growing root</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/libexec/rc/rc.d/growfs#4a30d7bb</link>
        <description>growfs script: add swap partition as well as growing rootAdd the ability to create a swap partition in the course of growingthe root file system on first boot, enabling by default.  The defaultrules are: add swap if the disk is at least 15 GB (decimal), and theexisting root is less than 40% of the disk.  The default size is 10%of the disk, but is limited by the memory size.  The limit is twicememory size up to 4 GB, 8 GB up to 8 GB memory, and memory size over8 GB memory. Swap size is clamped at vm.swap_maxpages/2 as well.The new swap partition is labeled as &quot;growfs_swap&quot;.The default behavior can be overridden by setting growfs_swap_size in/etc/rc.conf or in the kernel environment, with kenv taking priority.A value of 0 inhibits the addition of swap, an empty value specifiesthe default, and other values indicate a swap size in bytes.By default, addition of swap is inhibited if a swap partition is foundin the output of the sysctl kern.geom.conftxt before the current rootpartition, usually meaning that there is another disk present.Swap space is not added if one is already present in /etc/fstab.The root partition is read-only when growfs runs, so /etc/fstab cannot be modified.  That step is handled by a new growfs_fstab script,added in a separate commit.  Set the value &quot;growfs_swap_pdev&quot; in kenvto indicate that this should be done, as well as for internal use.There is optional verbose output meant for debugging; it can only beenabled by modifying the script (in two places, for sh and awk).This should be removed before release, after testing on -current.Discussed with:	cpercivaReviewed by:	imp (previous version)Differential Revision:	https://reviews.freebsd.org/D37462

            List of files:
            /freebsd-14.2/libexec/rc/rc.d/growfs</description>
        <pubDate>Sat, 10 Dec 2022 19:38:36 +0000</pubDate>
        <dc:creator>Mike Karels &lt;karels@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>04500107 - - Fix the growfs rc script to cope with diskid labels.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/libexec/rc/rc.d/growfs#04500107</link>
        <description>- Fix the growfs rc script to cope with diskid labels.- Fix a warning in growfs. gpart commit is supposed to be called on disk  device.- Silence a gpart commit warning in growfs.Submitted by: loosReviewed by: impDifferential Revision: https://reviews.freebsd.org/D31587Sponsored by: Rubicon Communications, LLC (&quot;Netgate&quot;)

            List of files:
            /freebsd-14.2/libexec/rc/rc.d/growfs</description>
        <pubDate>Tue, 17 Aug 2021 21:50:18 +0000</pubDate>
        <dc:creator>Scott Long &lt;scottl@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>b68e6569 - rc: improve dependencies for growfs</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/libexec/rc/rc.d/growfs#b68e6569</link>
        <description>rc: improve dependencies for growfsPreviously it depended on sysctl, which itself has no dependencies,so rcorder(8) had a bit too much flexibility when choosing when to runit.  Make sure it runs just between &apos;fsck&apos; and &apos;root&apos;.Reviewed By:	jmg, impSponsored By:	EPSRCDifferential Revision:	https://reviews.freebsd.org/D29748

            List of files:
            /freebsd-14.2/libexec/rc/rc.d/growfs</description>
        <pubDate>Sun, 25 Apr 2021 12:41:36 +0000</pubDate>
        <dc:creator>Edward Tomasz Napierala &lt;trasz@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>3ed737eb - fix the article to be correct...</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/libexec/rc/rc.d/growfs#3ed737eb</link>
        <description>fix the article to be correct...

            List of files:
            /freebsd-14.2/libexec/rc/rc.d/growfs</description>
        <pubDate>Mon, 16 Sep 2019 22:48:40 +0000</pubDate>
        <dc:creator>John-Mark Gurney &lt;jmg@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>c65b552f - Remove an unneeded &apos;tail -n 1&apos; from a pipeline</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/libexec/rc/rc.d/growfs#c65b552f</link>
        <description>Remove an unneeded &apos;tail -n 1&apos; from a pipelineWhen piping to awk, it&apos;s almost always an anti-pattern to use &apos;grep&apos;first.When not in a pipeline, sometimes it is faster to use tail, as awkmust process all the lines in the input stream, and won&apos;t &apos;seek&apos;.In a pipeline, both grep and awk must process all lines, so we mightas well skip the extra process creation for tail and just use awkfor all the processing.Reviewed by:	jillesMFC after:	2 weeksDifferential Revision:	https://reviews.freebsd.org/D19441

            List of files:
            /freebsd-14.2/libexec/rc/rc.d/growfs</description>
        <pubDate>Mon, 11 Mar 2019 13:33:03 +0000</pubDate>
        <dc:creator>Kurt Lidl &lt;lidl@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>efed7c6d - Teach /etc/rc.d/growfs how to handle systems running ZFS.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/libexec/rc/rc.d/growfs#efed7c6d</link>
        <description>Teach /etc/rc.d/growfs how to handle systems running ZFS.There are many cases which this code does not handle (e.g. ZFS mirrors)but the code can handle the single-disk case -- so it&apos;s enough to takecare of the &quot;disk image which gets booted into a VM with a larger thanexpected disk&quot; case for which this firstboot script was created.MFC after:	1 weekDifferential Revision:	https://reviews.freebsd.org/D19095

            List of files:
            /freebsd-14.2/libexec/rc/rc.d/growfs</description>
        <pubDate>Fri, 08 Feb 2019 19:19:31 +0000</pubDate>
        <dc:creator>Colin Percival &lt;cperciva@FreeBSD.org&gt;</dc:creator>
    </item>
<item>
        <title>0696600c - Move the rc framework out of sbin/init into libexec/rc.</title>
        <link>http://172.16.0.5:8080/history/freebsd-14.2/libexec/rc/rc.d/growfs#0696600c</link>
        <description>Move the rc framework out of sbin/init into libexec/rc.The reasons for this are forward looking to pkgbase: * /sbin/init is a special binary; try not to replace it with   every package update because an rc script was touched.   (a follow-up commit will make init its own package) * having rc in its own place will allow more easy replacement   of the rc framework with alternatives, such as openrc.Discussed with:		brd (during BSDCam), kmooreRequested by:		cem, bzPR:			231522Approved by:		re (gjb)

            List of files:
            /freebsd-14.2/libexec/rc/rc.d/growfs</description>
        <pubDate>Wed, 17 Oct 2018 16:49:11 +0000</pubDate>
        <dc:creator>Bjoern A. Zeeb &lt;bz@FreeBSD.org&gt;</dc:creator>
    </item>
</channel>
</rss>
