"gpart add" falsely claiming "No space left on device"

Perry Hutchison perryh at pluto.rain.com
Thu Sep 8 05:40:47 UTC 2016

Warren Block <wblock at wonkity.com> wrote:

> What does the man page need?

For starters, default values for -b, -s, -t, and -i in "gpart add".
(I guess -i defaults to "lowest not currently in use", but what about
the others?)  List of what-all "attributes" can be set and what they
do.  Explanation of when one would use -b vs. -p in "gpart bootcode"
since they are apparently different ways of specifying where the
bootcode comes from (but then your example uses both?)  Description
of how to show the current state of the provider vs what it would look
like if pending changes were committed.

> More examples?
> http://www.wonkity.com/~wblock/docs/html/disksetup.html

That could do with some explanations of where the "magic numbers"
came from, e.g. the "-b 40" in the gpboot partition and the "-b 1M"
in gprootfs.  I suppose there must be some reason for leaving those
3.0k and 492k free spaces around gpboot, but it isn't obvious.

More information about the freebsd-questions mailing list