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

@ -9,7 +9,7 @@
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH XORRISO 1 "Version 1.5.7, Aug 27, 2024"
.TH XORRISO 1 "Version 1.5.7, Aug 28, 2024"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
@ -2492,8 +2492,8 @@ E.g.: \-exec setfacl u:lisa:rw,u::rw,g::r,o::\-,m::rw \-\-
.br
\fBgetfattr\fR
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".
.br
\fBget_any_xattr\fR
prints xattr name\-value pairs from any namespace
@ -5115,7 +5115,7 @@ Similar to shell command du \-sk.
.TP
\fB\-findx\fR disk_path [test [op] [test ...]] [-exec action [params]] --
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.
.br
\-findx accepts the same tests as \-find, but only the following ones work
like described with \-find:
@ -5168,12 +5168,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.
.br
\fBprint_outname\fR
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 "\-\-" .
.br
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.
.br
\fBestimate_size\fR
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.
.br
\fBgetfacl\fR
prints access permissions in ACL text form to the result channel.
.br
\fBgetfattr\fR
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.
.br
\fBget_any_xattr\fR
prints xattr name\-value pairs to the result channel. All namespaces are shown
regardless of the setting of command \-xattr.
.br
\fBlist_extattr\fR 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.