aboutsummaryrefslogtreecommitdiff
path: root/tools/test/stress2/misc/nfs18.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/stress2/misc/nfs18.sh')
-rwxr-xr-xtools/test/stress2/misc/nfs18.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/test/stress2/misc/nfs18.sh b/tools/test/stress2/misc/nfs18.sh
index bf9e0fc8010e..46330a0290a1 100755
--- a/tools/test/stress2/misc/nfs18.sh
+++ b/tools/test/stress2/misc/nfs18.sh
@@ -47,7 +47,9 @@ kill -HUP `pgrep mountd` # loopback workaround
mdconfig -a -t swap -s 1g -u $mdstart
set -e
-bsdlabel -w md$mdstart auto
+gpart create -s bsd md$mdstart
+gpart add -t freebsd-ufs md$mdstart
+part=a
newfs_msdos -F 32 -b 8192 /dev/md${mdstart}$part > /dev/null
mkdir -p $mp1; chmod 777 $mp1
mount -t msdosfs -o rw /dev/md${mdstart}$part $mp1