specifying ea_mask

Will Stephenson <[email protected]> Tue, 11 Jul 2006 13:55:47 +0200
Newsgroups gmane.comp.sysutils.backup.dar.libdar
Organization SUSE Linux Products GmbH
Message-ID <[email protected]>
Hi list

I'm trying to update kdar(*) to work with libdar 4.0.0 and have run into a 
block 
in the plain libdar::archive ctor.  

I see that root_ea and user_ea args have been replaced by ea_mask, which must 
perform the same function, but I have no idea how to specify the 
equivalent "ignore user EA"/"ignore system EA" options using ea_mask.  I've 
poked around in the command_line.* sources but it seems the string for the 
ignore/allow EAs comes from the command line, and I can't find an example or 
documentation for this, the only masks I can find refer to extended file 
permissions, which as I understand it are a subset of EAs.

Put simply: 

A What's the mask for "all user EA"?

B What's the mask for "all system EA"?

C What's A & B?

D What's !A & !B ?

Can anyone enlighten me?

Thanks

Will

* Just a minimal update so it preserves the same behaviour with the new 
libdar, no new features. 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV