Bug fix: -not_leaf and -not_paths were not applied to -extract and alike
This commit is contained in:
@ -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.5, Sep 12, 2021"
|
||||
@c man .TH XORRISO 1 "Version 1.5.5, Sep 13, 2021"
|
||||
@c man .\" Please adjust this date whenever revising the manpage.
|
||||
@c man .\"
|
||||
@c man .\" Some roff macros, for reference:
|
||||
@ -1821,10 +1821,13 @@ the target filesystem of an -extract must be able to take the file size.
|
||||
@cindex Insert, file exclusion, -not_mgt
|
||||
Control the behavior of the exclusion lists.
|
||||
@*
|
||||
Exclusion processing happens before disk_paths get mapped to the ISO image
|
||||
and before disk files get compared with image files.
|
||||
The absolute disk path of the source is matched against the -not_paths list.
|
||||
The leafname of the disk path is matched against the patterns in the -not_leaf
|
||||
Exclusion processing happens before disk_paths get mapped to the ISO image,
|
||||
before disk files get compared with image files, and before image files get
|
||||
extracted to disk files.
|
||||
@*
|
||||
The absolute disk paths involved in such an action are matched against the
|
||||
-not_paths list.
|
||||
The leafnames of disk paths are matched against the patterns in the -not_leaf
|
||||
list. If a match is detected then the disk path will not be regarded as an
|
||||
existing file and not be added to the ISO image.
|
||||
@*
|
||||
@ -1867,6 +1870,13 @@ path is relative, then the current -cdx is prepended to form an absolute path.
|
||||
Pattern matching, if enabled, happens at definition time and not when exclusion
|
||||
checks are made.
|
||||
@*
|
||||
Keep in mind that there may be alternative paths to the same disk file. The
|
||||
exclusion tests are done literally, so that they do not keep files from getting
|
||||
into the ISO filesystem by other paths. Accordingly an exclusion does not
|
||||
prevent a disk file from being overwritten by file extraction via an
|
||||
alternative not excluded path. So the exlusions need to be coordinated with
|
||||
the actual disk_path parameters given with commands.
|
||||
@*
|
||||
(Do not forget to end the list of disk_paths by "@minus{}@minus{}")
|
||||
@c man .TP
|
||||
@item -not_leaf pattern
|
||||
@ -5719,6 +5729,15 @@ But its alter ego osirrox is able to extract file objects
|
||||
from ISO images and to create, overwrite, or delete file objects on disk.
|
||||
@*
|
||||
Disk file exclusions by -not_mgt, -not_leaf, -not_paths apply.
|
||||
The exclusion tests are made with the paths and names for the disk files.
|
||||
If exclusion of paths or names in the ISO image is desired, then use image
|
||||
manipulation commands like -rm or -find ... -exec rm before extraction,
|
||||
and end the program by -rollback_end .
|
||||
@*
|
||||
Excluded disk_path parameters of extraction commands cause SORRY events.
|
||||
Implicitely given paths in trees under disk_path parameters are excluded
|
||||
silently.
|
||||
@*
|
||||
If disk file objects already exist then the settings of -overwrite and
|
||||
-reassure apply. But -overwrite "on" only triggers the behavior
|
||||
of -overwrite "nondir". I.e. directories cannot be deleted.
|
||||
|
Reference in New Issue
Block a user