Date: Sat, 10 Jun 2017 10:40:15 +0000 (UTC) From: Peter Holm <pho@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r319777 - user/pho/stress2/misc Message-ID: <201706101040.v5AAeFQm017543@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pho Date: Sat Jun 10 10:40:15 2017 New Revision: 319777 URL: https://svnweb.freebsd.org/changeset/base/319777 Log: Do not hard code newfs(8) flags. Style. Sponsored by: Dell EMC Isilon Modified: user/pho/stress2/misc/trim5.sh Modified: user/pho/stress2/misc/trim5.sh ============================================================================== --- user/pho/stress2/misc/trim5.sh Sat Jun 10 08:25:46 2017 (r319776) +++ user/pho/stress2/misc/trim5.sh Sat Jun 10 10:40:15 2017 (r319777) @@ -36,11 +36,11 @@ . ../default.cfg mount | grep "$mntpoint " | grep -q md$mdstart && umount $mntpoint -mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart +[ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart mdconfig -a -t malloc -s 128m -u $mdstart bsdlabel -w md$mdstart auto -newfs -U -t md${mdstart}$part > /dev/null +newfs $newfs_flags -t md${mdstart}$part > /dev/null mount /dev/md${mdstart}$part $mntpoint mksnap_ffs $mntpoint $mntpoint/.snap/snap
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706101040.v5AAeFQm017543>