Setting chattr "C" and "i" at their proper times during restoring to disk

This commit is contained in:
2024-08-06 21:32:41 +02:00
parent ce66b6a7e4
commit c0ec40c5d2
10 changed files with 417 additions and 174 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, Jul 23, 2024"
.TH XORRISO 1 "Version 1.5.7, Aug 05, 2024"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
@ -1093,6 +1093,10 @@ changeable by the bearer of superuser capabilities. "no_restore_su" disables
restoring of these attributes. "restore_su_auto" enables it only if the
effective user id is 0.
.br
The attribute "i" (for "immutable") gets restored to directories only if they
have been created freshly by the same file restoring xorriso command.
A directory which already existed on disk will not be made immutable.
.br
Mode "restore_only_known" restricts restoring to the known settable attribute
flags "aAcCdDFijmPsStTux". "restore_unknown" enables the attempt to restore
unknown flags or even those which are known to be unchangeable, if they are
@ -4805,11 +4809,14 @@ drive can be "indev" or "outdev" to indicate already acquired drives,
or it can be the path of a not yet acquired drive.
Prefix "stdio:" for non\-MMC drives is not mandatory.
.br
For entity and id, see also command \-load. They must be either "sbsector" with
the superblock sector address as id,
or "track" with a track number as id, or "session" with a session number,
or "volid" with a search pattern for the volume id, or "auto" with which
any text as id mounts the first track of the last session.
See command \fB\-load\fR for the meaning of entity and id.
.br
Entities are: "auto", "session", "track", "lba", "sbsector", "volid",
"at_time", "before", "not_after", "after", and "not_before".
.br
Each is to be used with its appropriate kind of id string: "auto",
session number, track number, block number, search expression for volume id,
or time string.
.br
path will be used as mount point and must already exist as a directory on disk.
.br
@ -5916,6 +5923,9 @@ Code "codes" lists them. They share names with related commands
.br
"xattr" tells whether xorriso has an adapter for local filesystems EA.
.br
"lfa_flags" tells whether xorriso has an adapter for local Linux file
attributes (see man 1 chattr).
.br
"jigdo" tells whether production of Jigdo files is possible.
.br
"zisofs" tells whether zisofs and built\-in gzip filters are enabled.