New -follow occasion "concat"
This commit is contained in:
@ -1654,25 +1654,31 @@ handled as one parameter for -not_paths resp. -not_leaf.
|
||||
@kindex -follow softlinks and mount points
|
||||
@cindex Insert, links or mount points, -follow
|
||||
Enable or disable resolution of symbolic links and mountpoints under
|
||||
disk_paths. This applies to actions -add, -du*x, -ls*x, -findx,
|
||||
disk_paths. This applies to actions -add, -du*x, -ls*x, -findx, -concat,
|
||||
and to -disk_pattern expansion.
|
||||
@*
|
||||
There are two kinds of follow decisison to be made:
|
||||
There are three kinds of follow decisison to be made:
|
||||
@*
|
||||
"link" is the hop from a symbolic link to its target file object.
|
||||
@strong{link} is the hop from a symbolic link to its target file object for the
|
||||
purpose of reading. I.e. not for command -concat.
|
||||
If enabled then symbolic links are handled as their target file objects,
|
||||
else symbolic links are handled as themselves.
|
||||
@*
|
||||
"mount" is the hop from one filesystem to another subordinate filesystem.
|
||||
@strong{mount} is the hop from one filesystem to another subordinate filesystem.
|
||||
If enabled then mountpoint directories are handled as any other directory,
|
||||
else mountpoints are handled as empty directories if they are encountered in
|
||||
directory tree traversals.
|
||||
@*
|
||||
@strong{concat} is the hop from a symbolic link to its target file object for
|
||||
the purpose of writing. I.e. for command -concat. This is a security risk !
|
||||
@*
|
||||
Less general than above occasions:
|
||||
@*
|
||||
"pattern" is mount and link hopping, but only during -disk_pattern expansion.
|
||||
@strong{pattern} is mount and link hopping, but only during -disk_pattern
|
||||
expansion.
|
||||
@*
|
||||
"param" is link hopping for parameter words (after eventual pattern expansion).
|
||||
@strong{param} is link hopping for parameter words (after eventual pattern
|
||||
expansion).
|
||||
If enabled then -ls*x will show the link targets rather than the links
|
||||
themselves. -du*x, -findx, and -add will process the link targets but not
|
||||
follow links in an eventual directory tree below the targets (unless "link"
|
||||
@ -1681,20 +1687,20 @@ is enabled).
|
||||
Occasions can be combined in a colon separated list. All occasions
|
||||
mentioned in the list will then lead to a positive follow decision.
|
||||
@*
|
||||
"off" prevents any positive follow decision. Use it if no other occasion
|
||||
@strong{off} prevents any positive follow decision. Use it if no other occasion
|
||||
applies.
|
||||
@*
|
||||
Shortcuts:
|
||||
@*
|
||||
"default" is equivalent to "pattern:mount:limit=100".
|
||||
@strong{default} is equivalent to "pattern:mount:limit=100".
|
||||
@*
|
||||
"on" always decides positive. Equivalent to "link:mount".
|
||||
@strong{on} always decides positive. Equivalent to "link:mount:concat".
|
||||
@*
|
||||
@sp 1
|
||||
|
||||
Not an occasion but an optional setting is:
|
||||
@*
|
||||
"limit="<number> which sets the maximum number of link hops.
|
||||
@strong{limit=}<number> which sets the maximum number of link hops.
|
||||
A link hop consists of a sequence of symbolic links and a final target
|
||||
of different type. Nevertheless those hops can loop. Example:
|
||||
@*
|
||||
|
Reference in New Issue
Block a user