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:
Ruslan Bukin 2016-09-22 12:53:11 +00:00
parent 617a841d4a
commit d29c555195

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