Re: [PATCH 3/3] move fsck/mkfs for bfs/cramfs/minix to /usr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 13, 2009 at 05:18:55AM -0400, Mike Frysinger wrote:
> On Tuesday 13 October 2009 04:15:46 Karel Zak wrote:
> > On Mon, Oct 12, 2009 at 10:52:31PM -0400, Mike Frysinger wrote:
> > > On Monday 12 October 2009 21:19:27 Christoph Hellwig wrote:
> > > > On Mon, Oct 12, 2009 at 03:26:30PM +0200, Karel Zak wrote:
> > > > > On Sat, Oct 10, 2009 at 08:07:16PM -0400, Mike Frysinger wrote:
> > > > > > The bfs/cramfs/minix rarely (if ever?) are used for root
> > > > > > filesystems, so it doesn't make much sense to keep them in the root
> > > > > > partition.  Move them to /usr by default.
> > > > >
> > > > >  Good idea. Applied, thanks.
> > 
> >  this was too optimistic...
> > 
> > > > FYI: this breaks xfstests as it expects mkfs.* only in /sbin.  Wouldn't
> > > > be surprised if others tools do the same.
> > 
> >  the other example is /sbin/mkfs, this tool uses
> > 
> >     "PATH=/sbin:/sbin/fs:/sbin/fs.d:/etc/fs:/etc"
> 
> you're going to fix it up or should i send a patch ?

 Bad question :-)
 
 The question is: do we really expect mkfs.<type> and
 fsck.<type> tools in /usr/sbin?

 Scott, Kay, any comment or suggestion? It would be nice to minimize
 number of differences between (at least mainstream) distributions.

> > > it's already been broken as not all packages install their mkfs/fsck into
> > > /sbin.  package PATH assumptions are always invalid anyways.
> > 
> >  Well, I see /usr/sbin/mkfs.gfs2 only.
> 
> i see jffs2, ubifs, msdos, ntfs, vfat

 Fedora has msdos, ntfs, vfat in /sbin (and I don't have installed
 jffs2, ubifs).

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux