aboutsummaryrefslogtreecommitdiff
path: root/tools/test/stress2/misc/nullfs12.sh
diff options
context:
space:
mode:
authorPeter Holm <pho@FreeBSD.org>2022-06-17 03:42:52 +0000
committerPeter Holm <pho@FreeBSD.org>2022-06-17 03:42:52 +0000
commit608c97bff921c8936eb71f4b1a177625cfa60250 (patch)
tree578818fd7e78270e55bc67fe7131e640b6a69cdc /tools/test/stress2/misc/nullfs12.sh
parentc692ea4026598b6869393c8379ba941348e74cbe (diff)
downloadsrc-608c97bff921c8936eb71f4b1a177625cfa60250.tar.gz
src-608c97bff921c8936eb71f4b1a177625cfa60250.zip
Diffstat (limited to 'tools/test/stress2/misc/nullfs12.sh')
-rwxr-xr-xtools/test/stress2/misc/nullfs12.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/test/stress2/misc/nullfs12.sh b/tools/test/stress2/misc/nullfs12.sh
index 12671bb695c1..daec7c0ba04e 100755
--- a/tools/test/stress2/misc/nullfs12.sh
+++ b/tools/test/stress2/misc/nullfs12.sh
@@ -41,9 +41,8 @@ mount | grep -q $mnt2 && umount $mnt2
mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint
mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart
mdconfig -a -t swap -s 1g -u $mdstart
-bsdlabel -w md$mdstart auto
-newfs $newfs_flags md${mdstart}$part > /dev/null
-mount /dev/md${mdstart}$part $mntpoint
+newfs $newfs_flags md$mdstart > /dev/null
+mount /dev/md$mdstart $mntpoint
chmod 777 $mntpoint
mount -t nullfs $mntpoint $mnt2