From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p7AGXPXc197769 for ; Wed, 10 Aug 2011 11:33:25 -0500 Received: from bombadil.infradead.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id DACECCF367 for ; Wed, 10 Aug 2011 09:33:24 -0700 (PDT) Received: from bombadil.infradead.org (173-166-109-252-newengland.hfc.comcastbusiness.net [173.166.109.252]) by cuda.sgi.com with ESMTP id L1dppJQE6RBXqQtW for ; Wed, 10 Aug 2011 09:33:24 -0700 (PDT) Date: Wed, 10 Aug 2011 12:33:22 -0400 From: Christoph Hellwig Subject: Re: [PATCH v3 1/2] xfstests: make more tests generic Message-ID: <20110810163322.GA30292@infradead.org> References: <20110810155214.GE20461@twin.jikos.cz> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20110810155214.GE20461@twin.jikos.cz> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: xfs@oss.sgi.com, linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org, Stefan Behrens On Wed, Aug 10, 2011 at 05:52:14PM +0200, David Sterba wrote: > there's a hardcoded path for mkfs.btrfs in common.rc:_scratch_mkfs_sized() > > 335 btrfs) > 336 /sbin/mkfs.$FSTYP $MKFS_OPTIONS $SCRATCH_DEV -b $fssize > 337 ;; > > I have a /usr/local/ installation of btrfsprogs from git, > _scratch_mkfs_sized() was not called for btrfs before. > > Possible ways to fix this: > 1) use /sbin/mkfs -t $FSTYP like _scratch_mkfs, or > 2) set $MKFS_BTRFS_PROG like for some other filesystems > > > What is preferred? Please send a patch for variant 2. As soon as we have option using the generic mkfs wrapper sounds like a good idea. In addition to that treating btrfs the same way as other filesystems is always good. _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs