diff options
author | Peter Holm <pho@FreeBSD.org> | 2022-06-17 03:42:52 +0000 |
---|---|---|
committer | Peter Holm <pho@FreeBSD.org> | 2022-06-17 03:42:52 +0000 |
commit | 608c97bff921c8936eb71f4b1a177625cfa60250 (patch) | |
tree | 578818fd7e78270e55bc67fe7131e640b6a69cdc /tools/test/stress2/misc/snap10.sh | |
parent | c692ea4026598b6869393c8379ba941348e74cbe (diff) | |
download | src-608c97bff921c8936eb71f4b1a177625cfa60250.tar.gz src-608c97bff921c8936eb71f4b1a177625cfa60250.zip |
Diffstat (limited to 'tools/test/stress2/misc/snap10.sh')
-rwxr-xr-x | tools/test/stress2/misc/snap10.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/test/stress2/misc/snap10.sh b/tools/test/stress2/misc/snap10.sh index 53fba0ee652d..69d5ddd0bfdc 100755 --- a/tools/test/stress2/misc/snap10.sh +++ b/tools/test/stress2/misc/snap10.sh @@ -40,9 +40,8 @@ log=/tmp/snap10.log mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart mdconfig -a -t swap -s 512m -u $mdstart || exit 1 -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 while ! mksnap_ffs $mntpoint $mntpoint/.snap/stress2; do :; done |