[Dar-libdar_api] Re: Error reading EA
For full, incremental, compressed and encrypted backups or archives
Brought to you by:
edrusb
|
From: Denis C. <dar...@fr...> - 2005-05-08 12:47:52
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, Denis Corbin wrote: | Wesley Leggette wrote: | | On Mon, 2005-03-21 at 21:20 +0100, Denis Corbin wrote: | | | | Johnathan Burchill wrote: | | | Hi Denis, | | | | Hello Johnathan, | | | | | | | | From the dar-support list archive, message of 2005-03-01 12:30: | | | | | | | | |>| They explictly mention the security namespace but I don"t know at all | | |>| if this is standard. | | | | | | | | | | | |>I don"t know neither. I will look at this soon. | | | | | | | | | On my Slackware 10.1 box, "man 5 attr" shows 4 namespaces: | | | | | | "Currently the security, system, trusted, and user extended | | | attribute classes are defined as described below. Addi- | | | tional classes may be added in the future." | | | | | | The fact that more may be added in future makes me think there must be | | a way | | | to implement EA support in libdar in a more general way, that is | | independent | | | of specific namespaces... | | | | | | | Yes, this is the object of a request for evolution, and of course I | | don't want to have to change dar upon each new namespace that could | | appear in the future. Historically (may 2002) when I read the | | documentation provided by Andreas Gruenbacher (Author of EA/ACL) only | | two namespaces were defined and it seemed there were no need to have | | some more... :-) | | |[...] | | My current idea is to make namespace transparent to dar. the -u and -U | options would change their meaning becoming a mask option (like -Y and | -Z for example) but applied to the whole EA name. For example -u | "system.*" would exclude all EA of the system namespace while -U | "security.*" would include only the security namespace. One could also | restore or save only a particular set of EA using several -u or -U | basing the selection on namespace and/or name of the EA. | | This implies API changes of course. | [...] This is now implemented under the CVS trunk. The documentation, man pages, API tutorial and doxygen comments are up to date. Rawly, this has been done as explained above, EA namespace is now transparent to dar, for libdar, a mask replaces the ea_root and ea_user switchs to defines which EA to consider. For dar, the -u and -U options have changed and now take an argument. Cheers, Denis. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFCfgpHpC5CI8gYGlIRAmGFAKC9Grn6I80afJJwejDiw+XwMbIHUwCgtcyG 4DWa5sUsU+Ji80XXEzoK3cQ= =zxwO -----END PGP SIGNATURE----- |