Page MenuHomeFreeBSD

Add a sanity check to the swap size in zfsboot of bsdinstall

Authored by allanjude on Apr 15 2015, 8:49 PM.



Shawn Webb reported accidently ending up with 8kb instead of 8gb of swap
This is invalid, and obviously not what the user intended to do

Add a sanity check that does not allow less than 100mb of swap (while still allowing no swap)

MFC-After: 1 month (before 10.2)

Diff Detail

rS FreeBSD src repository
No Linters Available
No Unit Test Coverage

Event Timeline

allanjude updated this revision to Diff 4841.Apr 15 2015, 8:49 PM
allanjude retitled this revision from to Add a sanity check to the swap size in zfsboot of bsdinstall.
allanjude updated this object.
allanjude edited the test plan for this revision. (Show Details)
roberto accepted this revision.Apr 15 2015, 9:34 PM
roberto edited edge metadata.

Looks reasonable to me.

This revision is now accepted and ready to land.Apr 15 2015, 9:34 PM
brd accepted this revision.May 5 2015, 2:48 AM
brd added a reviewer: brd.
allanjude closed this revision.May 5 2015, 3:24 AM

Committed as rS282443