From owner-svn-src-user@FreeBSD.ORG Sun Mar 8 07:37:20 2015 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E5F2EB1B; Sun, 8 Mar 2015 07:37:20 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D1C06965; Sun, 8 Mar 2015 07:37:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t287bKlr063839; Sun, 8 Mar 2015 07:37:20 GMT (envelope-from pho@FreeBSD.org) Received: (from pho@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t287bKH5063837; Sun, 8 Mar 2015 07:37:20 GMT (envelope-from pho@FreeBSD.org) Message-Id: <201503080737.t287bKH5063837@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pho set sender to pho@FreeBSD.org using -f From: Peter Holm Date: Sun, 8 Mar 2015 07:37:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r279770 - user/pho/stress2/misc X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2015 07:37:21 -0000 Author: pho Date: Sun Mar 8 07:37:19 2015 New Revision: 279770 URL: https://svnweb.freebsd.org/changeset/base/279770 Log: Use $newfs_flags for newfs default flags. Sponsored by: EMC / Isilon storage division Modified: user/pho/stress2/misc/link.sh user/pho/stress2/misc/md5.sh Modified: user/pho/stress2/misc/link.sh ============================================================================== --- user/pho/stress2/misc/link.sh Sun Mar 8 04:33:53 2015 (r279769) +++ user/pho/stress2/misc/link.sh Sun Mar 8 07:37:19 2015 (r279770) @@ -48,7 +48,7 @@ mount | grep $mntpoint | grep -q /dev/md mdconfig -a -t swap -s 1g -u $mdstart || exit 1 bsdlabel -w md$mdstart auto -newfs -U md${mdstart}$part > /dev/null +newfs $newfs_flags md${mdstart}$part > /dev/null mount /dev/md${mdstart}$part $mntpoint daemon sh -c "(cd $here/../testcases/swap; ./swap -t 5m -i 20 -h -l 100)" \ Modified: user/pho/stress2/misc/md5.sh ============================================================================== --- user/pho/stress2/misc/md5.sh Sun Mar 8 04:33:53 2015 (r279769) +++ user/pho/stress2/misc/md5.sh Sun Mar 8 07:37:19 2015 (r279770) @@ -42,7 +42,7 @@ dd if=/dev/zero of=$diskimage bs=1k count=5k 2>&1 | egrep -v "records|transferred" mdconfig -f $diskimage -u md$mdstart -newfs -U /dev/md$mdstart > /dev/null +newfs $newfs_flags /dev/md$mdstart > /dev/null ( dd if=/dev/md$mdstart of=/dev/null 2>&1 || echo FAIL ) | egrep -v "records|transferred"