New commands -lfa_flags, -lsattr, -lsattrd, -chattr, -chattr_r, -find test -has_lfa_flags, -find actions lsattrd, chattr

This commit is contained in:
2024-07-20 23:12:16 +02:00
parent dfd0a8cc81
commit 0802689b11
26 changed files with 1222 additions and 165 deletions

View File

@ -173,8 +173,27 @@ struct XorrisO { /* the global context of xorriso */
namespaces, not only "user."
if bit3: export to local filesystem all xattr
namespaces, not only "user."
bit11= read lfa_flags (chattr) from local file objects and
write them into the ISO filesystem
bit12= restore lfa_flags when restoring file
bit13= do not restore known superuser lfa_flags
bit14= restore only known lfa_flags
*/
int lfa_flags_setting; /* Current settings of command -lfa_flags
bit0= on
bit1= auto_su
bit11-14= at the end of the command these bits
get put into .do_aaip if bit0 is on.
Else the lfa bits of do_aaip will be set
to 0.
*/
int lfa_flags_default; /* Default for lfa_flags_setting */
uint64_t lfa_restore_mask; /* At most the flag bits which are set here will
be restored when a file gets restored to disk
*/
int do_md5; /* bit0= read MD5 array
bit1= write session MD5
bit2= write MD5 for each data file