aboutsummaryrefslogtreecommitdiff
path: root/tools/test/stress2/misc/nullfs18.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/stress2/misc/nullfs18.sh')
-rwxr-xr-xtools/test/stress2/misc/nullfs18.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/test/stress2/misc/nullfs18.sh b/tools/test/stress2/misc/nullfs18.sh
index 1f3320bff1e6..0ee0a1c2ef6b 100755
--- a/tools/test/stress2/misc/nullfs18.sh
+++ b/tools/test/stress2/misc/nullfs18.sh
@@ -39,11 +39,10 @@ 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 2g -u $mdstart || exit 1
-bsdlabel -w md$mdstart auto
-newfs -n md${mdstart}$part > /dev/null
+newfs -n md$mdstart > /dev/null
-mount /dev/md${mdstart}$part $mntpoint
+mount /dev/md$mdstart $mntpoint
chmod 777 $mntpoint
set `df -ik $mntpoint | tail -1 | awk '{print $4,$7}'`
export KBLOCKS=$(($1 / N))