freebsd-skq/sbin/bsdlabel
Andrey V. Elsukov 982e6e69cd bsdlabel(8) could automatically fill many of disklabel's deprecated
fields, but user could specify some of those fields when edits disklabel
with `bsdlabel -e`. But without -A flag these fields might be
overwritten with default values from the virgin disklabel.
So, don't overwrite such fields if they are not zero. Also add checks
to prevent creating disklabel with less than DEFPARTITIONS and more
than MAXPARTITIONS partitions.

PR:		bin/162332
Tested by:	Eugene Grosbein
MFC after:	1 week
2011-11-06 18:59:42 +00:00
..
bsdlabel.8 Remove dead code in bsdlabel depending on __alpha__ 2011-03-10 08:24:21 +00:00
bsdlabel.c bsdlabel(8) could automatically fill many of disklabel's deprecated 2011-11-06 18:59:42 +00:00
Makefile Widen fields that display partition offset/length. 2011-03-10 08:24:33 +00:00
pathnames.h