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, 18.104.22.168-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?