From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sandeen.net ([63.231.237.45]:50770 "EHLO sandeen.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751398AbbBKQz2 (ORCPT ); Wed, 11 Feb 2015 11:55:28 -0500 Message-ID: <54DB897E.7060703@sandeen.net> Date: Wed, 11 Feb 2015 10:55:26 -0600 From: Eric Sandeen MIME-Version: 1.0 Subject: Re: shared/032 is broken on Fedora References: <54DB35F0.1010203@plexistor.com> <54DB886D.9060201@sandeen.net> In-Reply-To: <54DB886D.9060201@sandeen.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: fstests-owner@vger.kernel.org To: Boaz Harrosh , Dave Chinner , xfs@oss.sgi.com, linux-fsdevel , fstests@vger.kernel.org List-ID: On 2/11/15 10:50 AM, Eric Sandeen wrote: > (cc: fstests list) > > On 2/11/15 4:58 AM, Boaz Harrosh wrote: >> >> This is not the proper patch just to show a working version for Fedora. But I think >> it now breaks the other ARCHs. >> >> What happens is that the output of ${MKFS_PROG}.* is: >> /usr/sbin/mkfs.bfs /usr/sbin/mkfs.btrfs /usr/sbin/mkfs.cramfs /usr/sbin/mkfs.ext2 /usr/sbin/mkfs.ext3 /usr/sbin/mkfs.ext4 ... >> >> So in Fedora sbin has moved to /usr/... and therefor the sed below fails. >> My sed foo is not good enough. How to support both places for sbin? > > All we really want is the mkfs filesystem type, i.e. the ${FS} in mkfs.${FS} > > So > > sed -e 's/.*mkfs.//g' Wait, no, I misunderstood what it was working on ;) Hang on ... -Eric