From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Sandeen Subject: Re: shared/032 is broken on Fedora Date: Wed, 11 Feb 2015 10:55:26 -0600 Message-ID: <54DB897E.7060703@sandeen.net> References: <54DB35F0.1010203@plexistor.com> <54DB886D.9060201@sandeen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit To: Boaz Harrosh , Dave Chinner , xfs@oss.sgi.com, linux-fsdevel , fstests@vger.kernel.org Return-path: In-Reply-To: <54DB886D.9060201@sandeen.net> Sender: fstests-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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