New -as mkisofs options -long-rr-time, -no-long-rr-time, -short-rr-time
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
|
||||
/* xorriso - creates, loads, manipulates and burns ISO 9660 filesystem images.
|
||||
|
||||
Copyright 2007-2024 Thomas Schmitt, <scdbackup@gmx.net>
|
||||
Copyright 2007-2025 Thomas Schmitt, <scdbackup@gmx.net>
|
||||
|
||||
Provided under GPL version 2 or later.
|
||||
|
||||
@ -964,6 +964,9 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
|
||||
" Disable deep directory relocation (violates ISO9660)",
|
||||
" -hide-rr-moved Relocate deep directories to /.rr_moved",
|
||||
" -rr_reloc_dir NAME Set deep directory relocation target in root",
|
||||
" -long-rr-time Use long Rock Ridge time format",
|
||||
" -short-rr-time Enable use of short Rock Ridge time format",
|
||||
" -no-long-rr-time Enable use of short Rock Ridge time format",
|
||||
" -uid uid Make the owner of all files this uid.",
|
||||
" -gid gid Make the group owner of all files this gid.",
|
||||
" -o FILE, -output FILE Set output file name",
|
||||
@ -2570,6 +2573,13 @@ rr_reloc_dir:;
|
||||
goto problem_handler_2;
|
||||
Xorriso_relax_compliance(xorriso, "deep_paths_off:long_paths_off", 0);
|
||||
|
||||
} else if(strcmp(argpt, "-long-rr-time") == 0) {
|
||||
Xorriso_relax_compliance(xorriso, "rrip_tf_long", 0);
|
||||
|
||||
} else if(strcmp(argpt, "-no-long-rr-time") == 0 ||
|
||||
strcmp(argpt, "-short-rr-time") == 0) {
|
||||
Xorriso_relax_compliance(xorriso, "rrip_tf_short", 0);
|
||||
|
||||
} else if(strcmp(argpt, "-log-file") == 0 ||
|
||||
strcmp(argpt, "-file_name_limit") == 0) {
|
||||
i+= 1;
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2025.06.24.170955"
|
||||
#define Xorriso_timestamP "2025.06.24.171249"
|
||||
|
@ -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 XORRISOFS 1 "Version 1.5.7, Jun 10, 2025"
|
||||
.TH XORRISOFS 1 "Version 1.5.7, Jun 24, 2025"
|
||||
.\" Please adjust this date whenever revising the manpage.
|
||||
.\"
|
||||
.\" Some roff macros, for reference:
|
||||
@ -676,6 +676,23 @@ This option has no effect if option \-D is present.
|
||||
\fB\-hide-rr-moved\fR
|
||||
Alias of \-rr_reloc_dir "/.rr_moved"
|
||||
.TP
|
||||
\fB\-long-rr-time\fR
|
||||
Force use of the long form of RockRidge timestamps.
|
||||
This form is not understood by Linux kernels older than 6.16, but can represent
|
||||
times after the end of year 2155.
|
||||
.br
|
||||
Without this option xorriso will use this form only with individual files
|
||||
or directories of which the atime, ctime, or mtime is after 01 Jan 2150 UTC.
|
||||
(The six years up to 2156 may serve as last opportunity to enhance readers
|
||||
after libisofs was changed to continue using the short form.)
|
||||
.TP
|
||||
\fB\-short-rr-time\fR
|
||||
Re\-enable the default behavior of using the long form of RockRidge timestamps
|
||||
only for files with timestamps after 01 Jan 2150 UTC.
|
||||
.TP
|
||||
\fB\-no-long-rr-time\fR
|
||||
Alias of \-short\-rr\-time.
|
||||
.TP
|
||||
\fB--for_backup\fR
|
||||
Enable all options which improve backup fidelity:
|
||||
.br
|
||||
|
@ -616,6 +616,20 @@ File: xorrisofs.info, Node: SetExtras, Next: SetHide, Prev: SetCompl, Up: Op
|
||||
This option has no effect if option -D is present.
|
||||
-hide-rr-moved
|
||||
Alias of -rr_reloc_dir "/.rr_moved"
|
||||
-long-rr-time
|
||||
Force use of the long form of RockRidge timestamps. This form is
|
||||
not understood by Linux kernels older than 6.16, but can represent
|
||||
times after the end of year 2155.
|
||||
Without this option xorriso will use this form only with individual
|
||||
files or directories of which the atime, ctime, or mtime is after
|
||||
01 Jan 2150 UTC. (The six years up to 2156 may serve as last
|
||||
opportunity to enhance readers after libisofs was changed to
|
||||
continue using the short form.)
|
||||
-short-rr-time
|
||||
Re-enable the default behavior of using the long form of RockRidge
|
||||
timestamps only for files with timestamps after 01 Jan 2150 UTC.
|
||||
-no-long-rr-time
|
||||
Alias of -short-rr-time.
|
||||
--for_backup
|
||||
Enable all options which improve backup fidelity:
|
||||
--acl, --xattr-any, --md5, --hardlinks, --projid, and possibly
|
||||
@ -2140,13 +2154,13 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
|
||||
|