New -compliance rules rrip_tf_year0 and rrip_tf_1900
This commit is contained in:
@@ -653,7 +653,7 @@ int Xorriso_genisofs_count_args(struct XorrisO *xorriso, int argc, char **argv,
|
||||
"-part_like_isohybrid", "--zisofs-version-2", "--zisofs2-susp-z2",
|
||||
"--zisofs2-susp-zf", "-dvd-audio", "-dvd-hybrid", "-long-rr-time",
|
||||
"-no-long-rr-time", "-short-rr-time", "-ignore-error", "-data-change-warn",
|
||||
"-genisoimage_completion",
|
||||
"-genisoimage_completion", "-rr-time-year0",
|
||||
""
|
||||
};
|
||||
static char arg1_options[][41]= {
|
||||
@@ -967,6 +967,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
|
||||
" -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",
|
||||
" -rr-time-year0 Enable writing of timestamps as low as year 0",
|
||||
" -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",
|
||||
@@ -2580,6 +2581,9 @@ rr_reloc_dir:;
|
||||
strcmp(argpt, "-short-rr-time") == 0) {
|
||||
Xorriso_relax_compliance(xorriso, "rrip_tf_short", 0);
|
||||
|
||||
} else if(strcmp(argpt, "-rr-time-year0") == 0) {
|
||||
Xorriso_relax_compliance(xorriso, "rrip_tf_year0", 0);
|
||||
|
||||
} else if(strcmp(argpt, "-log-file") == 0 ||
|
||||
strcmp(argpt, "-file_name_limit") == 0) {
|
||||
i+= 1;
|
||||
|
@@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2025.09.16.190146"
|
||||
#define Xorriso_timestamP "2025.09.16.190953"
|
||||
|
@@ -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 24, 2025"
|
||||
.TH XORRISOFS 1 "Version 1.5.7, Sep 15, 2025"
|
||||
.\" Please adjust this date whenever revising the manpage.
|
||||
.\"
|
||||
.\" Some roff macros, for reference:
|
||||
@@ -693,6 +693,12 @@ only for files with timestamps after 01 Jan 2150 UTC.
|
||||
\fB\-no-long-rr-time\fR
|
||||
Alias of \-short\-rr\-time.
|
||||
.TP
|
||||
\fB\-rr-time-year0\fR
|
||||
Enable RockRidge timestamps before year 1900 AD down to year 0 (= 1 BC).
|
||||
The default restricts timestamps to at least Jan 1 1900 UTC because the
|
||||
Linux kernel up to at least version 6.16 misrepresents times before
|
||||
year 1900 as Jan 1 1970 00:00:00 UTC.
|
||||
.TP
|
||||
\fB--for_backup\fR
|
||||
Enable all options which improve backup fidelity:
|
||||
.br
|
||||
|
@@ -630,6 +630,11 @@ File: xorrisofs.info, Node: SetExtras, Next: SetHide, Prev: SetCompl, Up: Op
|
||||
timestamps only for files with timestamps after 01 Jan 2150 UTC.
|
||||
-no-long-rr-time
|
||||
Alias of -short-rr-time.
|
||||
-rr-time-year0
|
||||
Enable RockRidge timestamps before year 1900 AD down to year 0 (= 1
|
||||
BC). The default restricts timestamps to at least Jan 1 1900 UTC
|
||||
because the Linux kernel up to at least version 6.16 misrepresents
|
||||
times before year 1900 as Jan 1 1970 00:00:00 UTC.
|
||||
--for_backup
|
||||
Enable all options which improve backup fidelity:
|
||||
--acl, --xattr-any, --md5, --hardlinks, --projid, and possibly
|
||||
@@ -2154,13 +2159,13 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
|
||||
|