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

@ -5832,17 +5832,29 @@ List size of directories and files in the local filesystem
which match one of the patterns.
Similar to shell command du -sk.
@c man .TP
@item -findx disk_path [-name pattern] [-type t] [-exec action [params]] @minus{}@minus{}
@item -findx disk_path [test [op] [test ...]] [-exec action [params]] @minus{}@minus{}
@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.
@*
-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:
@*
-name, -type, -lba_range, -decision, -prune, -wholename,
-use_pattern, -or_use_pattern, -maxdepth, -mindepth,
-has_lfa_flags, -has_some_lfa_flags_of
@*
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.
@*
Test -lba_range matches only if its parameter start_lba is 0.
@*
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.
@*
-findx accepts the -exec actions as does -find. But except the following few
actions it will always perform action "echo".
@*
@ -5886,6 +5898,11 @@ setextattr to set the file's xattr name-value pairs of user namespace.
See -find for a description of parameter mode.
@*
E.g. -exec list_extattr e --
@*
@item lsattrd
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.
@end table
@c man .TP
@item -compare disk_path iso_rr_path