diff options
Diffstat (limited to 'tools/test/stress2/misc/msdos.sh')
-rwxr-xr-x | tools/test/stress2/misc/msdos.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/test/stress2/misc/msdos.sh b/tools/test/stress2/misc/msdos.sh index 2324404bfd16..c0f38ba3011b 100755 --- a/tools/test/stress2/misc/msdos.sh +++ b/tools/test/stress2/misc/msdos.sh @@ -38,7 +38,9 @@ mount | grep "$mntpoint" | grep -q md$mdstart && umount -f $mntpoint mdconfig -l | grep -q $mdstart && mdconfig -d -u $mdstart mdconfig -a -t swap -s 1g -u $mdstart -bsdlabel -w md$mdstart auto +gpart create -s bsd md$mdstart > /dev/null +gpart add -t freebsd-ufs md$mdstart > /dev/null +part=a newfs_msdos /dev/md${mdstart}$part > /dev/null mount -t msdosfs /dev/md${mdstart}$part $mntpoint |