Enabled more actions for -findx: getfacl, getfattr, get_any_xattr

This commit is contained in:
2024-08-28 16:31:16 +02:00
parent c68d4f2ec6
commit ffe18475a4
7 changed files with 209 additions and 80 deletions

View File

@ -50,7 +50,7 @@
@c man .\" First parameter, NAME, should be all caps
@c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
@c man .\" other parameters are allowed: see man(7), man(1)
@c man .TH XORRISO 1 "Version 1.5.7, Aug 27, 2024"
@c man .TH XORRISO 1 "Version 1.5.7, Aug 28, 2024"
@c man .\" Please adjust this date whenever revising the manpage.
@c man .\"
@c man .\" Some roff macros, for reference:
@ -2922,8 +2922,8 @@ E.g.: -exec setfacl u:lisa:rw,u::rw,g::r,o::@minus{},m::rw @minus{}@minus{}
@*
@item getfattr
prints xattr name-value pairs to the result channel. The choice of namespaces
depends on the setting of command -xattr: "on" or "user" restricts it to the
namespace "user", "any" only omits namespace "isofs".
depends on the setting of command -xattr: "off", "on", or "user" restricts
it to the namespace "user", "any" only omits namespace "isofs".
@*
@item get_any_xattr
prints xattr name-value pairs from any namespace
@ -5836,7 +5836,7 @@ Similar to shell command du -sk.
@kindex -findx traverses disk tree
@cindex Tree, disk, traverse, -findx
Like -find but operating on local filesystem and not on the ISO image.
This is subject to the settings of -follow.
The -findx command is subject to the settings of -follow.
@*
-findx accepts the same tests as -find, but only the following ones work
like described with -find:
@ -5891,12 +5891,35 @@ contains files. To be used with -type "m" to report mount points.
deletes all files from the counterpart
in the ISO image. To be used with -type "m" to truncate mount points.
@*
@item print_outname
prints in the first line the filename as found on disk,
and in the second line the filename after conversion forth and back between
local character set and one of the namespaces "rockridge", "joliet", "ecma119",
or "hfsplus". The third output line is "--" .
@*
The name conversion does not take into respect the possibility of name
collisions in the target namespace. Such collisions are most likely in "joliet"
and "ecma119", where they get resolved by automatic file name changes.
@*
@item estimate_size
prints a lower and an upper estimation of the number of blocks which the
found files together will occupy in the emerging ISO image.
This does not account for the superblock,
for the directories in the -findx path, or for image padding.
@*
@item getfacl
prints access permissions in ACL text form to the result channel.
@*
@item getfattr
prints xattr name-value pairs to the result channel.
The choice of namespaces depends on the setting of command -xattr:
"off", "on", or "user" restricts it to the namespace "user", "any" causes all
namespaces to be shown.
@*
@item get_any_xattr
prints xattr name-value pairs to the result channel. All namespaces are shown
regardless of the setting of command -xattr.
@*
@item list_extattr mode
prints a script to the result channel, which would use FreeBSD command
setextattr to set the file's xattr name-value pairs of user namespace.