svn commit: r273955 - in head: etc/rc.d share/man/man7
Brooks Davis
brooks at freebsd.org
Mon Nov 3 19:00:35 UTC 2014
On Sun, Nov 02, 2014 at 12:11:26AM +0000, John-Mark Gurney wrote:
> Author: jmg
> Date: Sun Nov 2 00:11:25 2014
> New Revision: 273955
> URL: https://svnweb.freebsd.org/changeset/base/273955
>
> Log:
> add an rc.d script to automatically grow the specified FS... It has
> been tested on both MBR and GPT... It won't be enabled until you add
> growfs_enable="YES" and will only run on first boot..
Nice. I've been wanting something like this for our boards. A few
comments:
- It looks like the current script doesn't support specifying a file
system and just finds the root dev. As a practical matter being able
to specify one probably isn't useful without doing the work to extend
the last partition on a device, but I could see cases where /usr or the
like is on removable media an / is an mdroot or otherwise on fixed size
storage.
- Being able to specify a size would be useful. For example, I might want
to growfs to 2GB by default and expand to the media size later if
warranted.
- A configurable delay during which ^C causes growfs to be skipped would
be useful when testing an image. Growfs on large or very slow media is
something I'd like to be able to avoid when I'm just testing.
- The shell lines should probably use tab for indentation to match system
style and the awk bits.
-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20141103/4b8a66ad/attachment.sig>
More information about the svn-src-head
mailing list