1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=306188

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