Use bsdlabel as we don't have hardlink disklabel -> bsdlabel

on some platforms.

Reviewed by:	ngie
Sponsored by:	DARPA, AFRL
Sponsored by:	HEIF5
Differential Revision:	https://reviews.freebsd.org/D7968
This commit is contained in:
br 2016-09-22 12:53:11 +00:00
parent f57ca26e67
commit c43a3e1e3e

View File

@ -18,7 +18,7 @@ setsize() {
{
echo a: $(($partszMB * $BLKS_PER_MB)) 0 4.2BSD 1024 8192
echo c: $(($unitszMB * $BLKS_PER_MB)) 0 unused 0 0
} | disklabel -R $md /dev/stdin
} | bsdlabel -R $md /dev/stdin
}
# Initialise