xfs
[Top] [All Lists]

Re: Backup ACLs

To: "Juer Lee" <Juer.Lee@xxxxxxxxxx>
Subject: Re: Backup ACLs
From: "Nathan Scott" <nathans@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Jul 2001 08:11:45 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: Steve Lord <lord@xxxxxxx> "Re: Backup ACLs" (Jul 25, 9:46am)
References: <200107251446.f6PEkLL02425@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
hi,

On Jul 25,  9:46am, Steve Lord wrote:
> Subject: Re: Backup ACLs
> ...
> You said that you had implemented the system calls for acls and
> extended attributes for the powerpc platform, I presume you have the
> user space changes as well so that the library calls in the acl
> package work. I would concentrate on getting the chacl command
> to work in all modes before moving to xfsdump/restore. Make sure
> that the system call numbers at the end of acl/libacl/acl.c are
> defined correctly for the ppc. 
> 
> Finally make sure you are linking xfsdump with the modified libacl.
> 
> OK, mostly fairly obvious stuff.
> 

Yup, good summary - one extra thing though - you must also
have a working attr command (once you have chacl working),
otherwise xfsdump/restore are not going to be able to backup
your ACLs (as these link with libattr - attr/libattr/attr.c -
rather than libacl).

On Jul 25, 11:51am, Juer Lee wrote:
> Subject: RE: Backup ACLs
>I tried to use a different version of xfs-progs-devel, 1.1.3.0-ppc. It
>still didn't work.:(

Can you verify whether your /usr/include/xfs/platform_defs.h
has references to O_DIRECT or not for powerpc (around line 58)?
I'd like to understand why this doesn't work for you, because
it should.  Could you post the gcc error & that header to me?

thanks.

-- 
Nathan


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