Page MenuHomeFreeBSD

growfs(7): document addition of swap partition and growfs_fstab script
ClosedPublic

Authored by karels on Nov 22 2022, 7:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 20, 2:12 PM
Unknown Object (File)
Sun, Oct 20, 2:12 PM
Unknown Object (File)
Sun, Oct 20, 2:12 PM
Unknown Object (File)
Sun, Oct 20, 2:12 PM
Unknown Object (File)
Sun, Oct 20, 2:11 PM
Unknown Object (File)
Sun, Oct 20, 1:39 PM
Unknown Object (File)
Sep 24 2024, 9:25 AM
Unknown Object (File)
Sep 24 2024, 6:27 AM

Details

Summary

Add documentation of the growfs script's new ability to add a swap
partition, expanding on the previous functionality as well. Add the
growfs_fstab helper script, which runs separately.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

karels created this revision.
pauamma_gundo.com added inline comments.
share/man/man7/growfs.7
69–82

Should that be "the next time"? (That is, the first time after it's set to YES.)

104

While here.

share/man/man7/growfs.7
69–82

No, the script runs only on the first boot (unless it is run manually with "onestart" as described below).

104

Changed in my copy, will push it soon with any other changes.

With the s/on/in/ nit (fixable on commit), LGTM.

This revision is now accepted and ready to land.Nov 23 2022, 2:36 AM

growfs_fstab no longer modifies rc.conf; add example for re-growfs

Explain that if growfs added swap previously, it can be deleted to
growfs again.

This revision now requires review to proceed.Nov 26 2022, 4:57 PM
This revision is now accepted and ready to land.Nov 27 2022, 2:27 AM

Update to correspond to current code in review, including new memory
size limitation.

This revision now requires review to proceed.Dec 6 2022, 5:27 PM

Fixable on commit.

share/man/man7/growfs.7
44
This revision is now accepted and ready to land.Dec 6 2022, 10:03 PM
share/man/man7/growfs.7
44

Oops, thanks for catching that.