Enabled for -findx: tests -has_lfa_flags and -has_some_lfa_flags_of, action lsattrd

This commit is contained in:
2024-08-27 18:08:59 +02:00
parent 416e367d38
commit 51154520d8
7 changed files with 143 additions and 62 deletions

View File

@ -5113,15 +5113,27 @@ List size of directories and files in the local filesystem
which match one of the patterns.
Similar to shell command du \-sk.
.TP
\fB\-findx\fR disk_path [-name pattern] [-type t] [-exec action [params]] --
\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.
.br
\-findx accepts the same \-type parameters as \-find. Additionally it recognizes
type "mountpoint" (or "m") which matches subdirectories which reside on a
different device than their parent. It never matches the disk_path
\-findx accepts the same tests as \-find. But except the following ones, they
will be defaulted to \-false:
.br
\-name, \-type, \-lba_range, \-decision, \-prune, \-wholename,
\-use_pattern, \-or_use_pattern, \-maxdepth, \-mindepth,
\-has_lfa_flags, \-has_some_lfa_flags_of
.br
Test \-type accepts the same parameters as with \-find. Additionally it
recognizes type "mountpoint" (or "m") which matches subdirectories which reside
on a different device than their parent. This type never matches the disk_path
given as start address for \-findx.
.br
Test \-lba_range matches only if its parameter start_lba is 0.
.br
Tests \-has_lfa_flags and \-has_some_lfa_flags_of ignore non\-settable file
attribute flags if \-lfa_flags is set to on:import_only_settable.
.br
\-findx accepts the \-exec actions as does \-find. But except the following few
actions it will always perform action "echo".
.br
@ -5163,6 +5175,11 @@ setextattr to set the file's xattr name\-value pairs of user namespace.
See \-find for a description of parameter mode.
.br
E.g. \-exec list_extattr e \-\-
.br
\fBlsattrd\fR
prints the Linux file attribute flags like command \-lsattrd does.
This shows non\-settable flags, too, even if they are to be ignored by the
setting of command \-lfa_flags.
.TP
\fB\-compare\fR disk_path iso_rr_path
Compare attributes and eventual data file content of a fileobject in the