aboutsummaryrefslogtreecommitdiff
path: root/tools/test/stress2/misc/msdos8.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/stress2/misc/msdos8.sh')
-rwxr-xr-xtools/test/stress2/misc/msdos8.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/test/stress2/misc/msdos8.sh b/tools/test/stress2/misc/msdos8.sh
index 58f0390e195d..84192ee6895e 100755
--- a/tools/test/stress2/misc/msdos8.sh
+++ b/tools/test/stress2/misc/msdos8.sh
@@ -45,7 +45,9 @@ mount | grep "$mntpoint" | grep -q md$mdstart && umount -f $mntpoint
mdconfig -l | grep -q $mdstart && mdconfig -d -u $mdstart
mdconfig -a -t swap -s 1g -u $mdstart
-bsdlabel -w md$mdstart auto
+gpart create -s bsd md$mdstart > /dev/null
+gpart add -t freebsd-ufs md$mdstart > /dev/null
+part=a
newfs_msdos /dev/md${mdstart}$part #> /dev/null
mount -t msdosfs /dev/md${mdstart}$part $mntpoint || exit 1