xfs
[Top] [All Lists]

Re: ACLs on both ext2/ext3 and XFS

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: ACLs on both ext2/ext3 and XFS
From: Andre Majorel <amajorel@xxxxxxxxx>
Date: Thu, 19 Jun 2003 22:57:45 +0200
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20030620063824.A8301@wobbly.melbourne.sgi.com>
References: <20030619150026.GA576@teaser.fr> <20030620063824.A8301@wobbly.melbourne.sgi.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.3i
On 2003-06-20 06:38 +1000, Nathan Scott wrote:
> On Thu, Jun 19, 2003 at 05:00:26PM +0200, Andre Majorel wrote:
> > What's the wisdom on building a kernel with ACL support for both
> > ext2/ext3 and XFS ? I tried applying patches in this order :
> > 
> >   linux-2.4.20.tar.bz2
> >   ea-2.4.20-0.8.58.diff.gz
> >   acl-2.4.20-0.8.57.diff.gz
> >   nfsacl-2.4.20-0.8.59.diff.gz
> >   xfs-2.4.20-split-only.bz2
> >   xfs-2.4.20-split-quota32.bz2
> >   xfs-2.4.20-split-kernel.bz2
> >   xfs-2.4.20-split-misc.bz2
> >   xfs-2.4.20-split-acl.bz2
> > 
> > It goes fine modulo a bunch of "(offset N lines)" messages but as
> > soon as I reach xfs-2.4.20-split-acl.bz2, problems appear
> > ("Reversed (or previously applied) patch detected!  Assume -R?").
> 
> The spilt ACL patch should not be needed if you have already
> applied Andreas' ACL patches - IIRC, this contains just the
> VFS changes to get ACLs functional (which is common between
> both patch sets).

Actually, it would seem that it contains things not in Andrea's
patches. It creates include/linux/posix_acl_xattr.h and adds a few
bits here and there. The following worked for me :

  tar -xjvf linux-2.4.20.tar.bz2 
  cd linux-2.4.20

  zcat ../ea-2.4.20-0.8.58.diff.gz | patch -p1
  zcat ../acl-2.4.20-0.8.57.diff.gz | patch -p1
  zcat ../nfsacl-2.4.20-0.8.59.diff.gz | patch -p1

  bzcat ../xfs-2.4.20-split-only.bz2 | patch -p1
  bzcat ../xfs-2.4.20-split-quota32.bz2 | patch -p1
  bzcat ../xfs-2.4.20-split-kernel.bz2 | patch -p1
  bzcat ../xfs-2.4.20-split-misc.bz2 | patch -p1
  # -N is required -- there's overlap between Grünbacher's and SGI's diffs 
  bzcat ../xfs-2.4.20-split-acl.bz2 | patch -p1 -N
  bzcat ../xfs-2.4.20-split-dmapi.bz2 | patch -p1

Thank you.

-- 
André Majorel <amajorel@xxxxxxxxx>
http://www.teaser.fr/~amajorel/


<Prev in Thread] Current Thread [Next in Thread>