git: d7e45d5b9002 - main - stress2: remove the usage of fdisk(8) as this is soon to be removed
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Jan 2024 08:56:11 UTC
The branch main has been updated by pho: URL: https://cgit.FreeBSD.org/src/commit/?id=d7e45d5b90025aa1c275fdfa783051006ac4b0f9 commit d7e45d5b90025aa1c275fdfa783051006ac4b0f9 Author: Peter Holm <pho@FreeBSD.org> AuthorDate: 2024-01-24 08:54:17 +0000 Commit: Peter Holm <pho@FreeBSD.org> CommitDate: 2024-01-24 08:54:17 +0000 stress2: remove the usage of fdisk(8) as this is soon to be removed --- tools/test/stress2/misc/fork2.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/test/stress2/misc/fork2.sh b/tools/test/stress2/misc/fork2.sh index 1cb66fff34c7..4dbe2de3f6d1 100755 --- a/tools/test/stress2/misc/fork2.sh +++ b/tools/test/stress2/misc/fork2.sh @@ -49,9 +49,8 @@ set -e mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart mdconfig -a -t swap -s 2g -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 set +e cd $mntpoint