aboutsummaryrefslogtreecommitdiff
path: root/tools/test/stress2/misc/trim5.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/trim5.sh
parentc692ea4026598b6869393c8379ba941348e74cbe (diff)
downloadsrc-608c97bff921c8936eb71f4b1a177625cfa60250.tar.gz
src-608c97bff921c8936eb71f4b1a177625cfa60250.zip
Diffstat (limited to 'tools/test/stress2/misc/trim5.sh')
-rwxr-xr-xtools/test/stress2/misc/trim5.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/test/stress2/misc/trim5.sh b/tools/test/stress2/misc/trim5.sh
index a03efbd33e54..0f8ff9ae705d 100755
--- a/tools/test/stress2/misc/trim5.sh
+++ b/tools/test/stress2/misc/trim5.sh
@@ -37,9 +37,8 @@ mount | grep "$mntpoint " | grep -q md$mdstart && umount $mntpoint
[ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart
mdconfig -a -t malloc -s 128m -u $mdstart
-bsdlabel -w md$mdstart auto
-newfs $newfs_flags -t md${mdstart}$part > /dev/null
-mount /dev/md${mdstart}$part $mntpoint
+newfs $newfs_flags -t md$mdstart > /dev/null
+mount /dev/md$mdstart $mntpoint
mksnap_ffs $mntpoint $mntpoint/.snap/snap