On Tue, 2003-11-25 at 12:49, Alessandro Bottoni wrote:
> Well, I'm a newbie, so here is the usual list of newbie questions :-)
>
> - Is there any (readable/understandable) example of the use of EA and/or ACL
> from within a C or C++ client program?
> - Is there any other C++ (or even a "simplified C") wrapper for the C/ioctl
> XFS API beside the one supplied by libferris?
> - Is there any Python/Perl/Ruby binding of the XFS EA/ACL API?
> - Is there any programmer's guide or any tutorial?
>
> Just to reassure you I read the available docu before bothering you:
> - "Some functionality specific to the XFS filesystem is accessible to
> applications through the Linux ioctl(2) interface." (from "man 5 xfs"). =>
> Any example for mere mortals?
> - "The http://witme.sourceforge.net/libferris.web/ has tools for accessing
> Extended Attributes including writing to XFS Extended Attributes." (from XFS
> FAQ page) => The link to "what are ACL" and other pages are broken... Any
> other docu available?
>
> And...
> - So far, I found just one client program that uses XFS EAs: DoXFS (a
> document
> management program that is available at sourceforge.net). Is there any other
> program that uses EA and/or ACL?
> - I found a whirlwind intro to XFS at IBM developerworks, as well. Nice but
> very introductory.
>
> BTW: does anybody know if there is any SCM (CVS-like or, more precisely,
> ClearCase-like) program based on XFS? I would have expected that the
> ClearCase-clone "Katie" (http://www.netcraft.com.au/geoffrey/katie/) used it
> but, apparently, it uses its own EA/ACL technology.
>
> Many thanks in advance.
>
> ----------------------------------
> Alessandro Bottoni
> alessandrobottoni@xxxxxxxxxxxx
>
>
You should look into libacl.a and libattr.a They provide a nice C
callable api.
Normally http://acl.bestbits.at has more info, but the sub-pages are
either gone or temporarily offline.
Also, there are python wrappers for both of the above, but I don't
remember their names. Maybe pyxattr from
http://sourceforge.net/project/showfiles.php?group_id=69931
If not, checkout rdiff-backup 0.13.x. That is a python project that uses
them.
Greg
--
Greg Freemyer
|