Changed --zisofs-susp-z2 to --zisofs2-susp-z2, added --zisofs2-susp-zf

This commit is contained in:
Thomas Schmitt 2020-10-29 20:14:29 +01:00
parent d2f10a1768
commit 80b4d29a81
5 changed files with 99 additions and 66 deletions

View File

@ -636,7 +636,8 @@ int Xorriso_genisofs_count_args(struct XorrisO *xorriso, int argc, char **argv,
"-isohybrid-gpt-basdat", "-isohybrid-gpt-hfsplus",
"-isohybrid-apm-hfsplus", "--grub2-boot-info", "-joliet-utf16",
"-appended_part_as_gpt", "-appended_part_as_apm", "--mbr-force-bootable",
"-part_like_isohybrid", "--zisofs-version-2", "--zisofs-susp-z2",
"-part_like_isohybrid", "--zisofs-version-2", "--zisofs2-susp-z2",
"--zisofs2-susp-zf",
""
};
static char arg1_options[][41]= {
@ -949,7 +950,8 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
" -z, -transparent-compression",
" Enable transparent compression of files",
" --zisofs-version-2 Enable processing of zisofs version 2 files",
" --zisofs-susp-z2 Produce Z2 entries for version 2 instead of ZF",
" --zisofs2-susp-z2 Produce Z2 entries for zisofs version 2",
" --zisofs2-susp-zf Produce ZF entries for zisofs version 2",
" -root DIR Set root directory for all new files and directories",
" -old-root DIR Set root directory in previous session that is searched for files",
" --old-root-no-md5 Do not record and use MD5 with -old-root",
@ -1605,8 +1607,10 @@ int Xorriso_genisofs(struct XorrisO *xorriso, char *whom,
Xorriso_option_zisofs(xorriso, "by_magic=on", 0);
} else if(strcmp(argpt, "--zisofs-version-2") == 0) {
Xorriso_option_zisofs(xorriso, "by_magic=v2", 0);
} else if(strcmp(argpt, "--zisofs-susp-z2") == 0) {
} else if(strcmp(argpt, "--zisofs2-susp-z2") == 0) {
Xorriso_option_zisofs(xorriso, "susp_z2=on", 0);
} else if(strcmp(argpt, "--zisofs2-susp-zf") == 0) {
Xorriso_option_zisofs(xorriso, "susp_z2=off", 0);
} else if(strcmp(argpt, "--stdio_sync")==0) {
if(i+1>=argc)
goto not_enough_args;
@ -2041,7 +2045,8 @@ not_enough_args:;
} else if(strcmp(argpt, "-z")==0 ||
strcmp(argpt, "-transparent-compression")==0 ||
strcmp(argpt, "--zisofs-version-2") == 0 ||
strcmp(argpt, "--zisofs-susp-z2") == 0) {
strcmp(argpt, "--zisofs2-susp-z2") == 0 ||
strcmp(argpt, "--zisofs2-susp-zf") == 0) {
/* was already handled in first argument scan */;
} else if(strcmp(argpt, "-U") == 0 ||
strcmp(argpt, "-untranslated-filenames") == 0) {

View File

@ -1 +1 @@
#define Xorriso_timestamP "2020.10.29.083347"
#define Xorriso_timestamP "2020.10.29.191346"

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 XORRISOFS 1 "Version 1.5.3, Oct 27, 2020"
.TH XORRISOFS 1 "Version 1.5.3, Oct 29, 2020"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
@ -270,20 +270,27 @@ Alias of \-z.
\fB\--zisofs-version-2\fR
.br
Enable the recognition and proper processing of experimental zisofs version 2
compressed files. The Linux kernel (as of 5.9) does not yet know this format
and will complain like
compressed files.
The Linux kernel (as of 5.9) does not yet know this format and will complain
like
.br
isofs: Unknown ZF compression algorithm: PZ
.br
The files will then appear as they were submitted to xorriso, i.e. with zisofs2
header, block pointer list, and compressed data.
This complaint can be prevented by option \-\-zisofs2\-susp\-z2 .
.br
The files will be shown by unaware kernels as they were submitted to xorriso,
i.e. with zisofs2 header, block pointer list, and compressed data.
.br
\-\-zisofs\-version\-2 also enables \-z.
.TP
\fB\--zisofs-susp-z2\fR
\fB\--zisofs2-susp-z2\fR
Enable the production of SUSP entries "Z2" instead of "ZF" with zisofs2
compressed files. Unaware Linux kernels are supposed to silently ignore "Z2"
entries.
compressed files. Unaware Linux kernels silently ignore "Z2" entries.
.TP
\fB\--zisofs2-susp-zf\fR
Enable the production of SUSP entries "ZF" instead of "Z2" with zisofs2
compressed files. Unaware Linux kernels complain about zisofs2 "ZF" by
"Unknown ZF compression algorithm" and thus leave a mark in the system log.
.TP
\fB\-root\fR iso_rr_path
Insert all files under the given iso_rr_path. If option \-graft\-points is given,

View File

@ -275,13 +275,20 @@ File: xorrisofs.info, Node: SetInsert, Next: SetProduct, Prev: Loading, Up:
version 2 compressed files. The Linux kernel (as of 5.9) does not
yet know this format and will complain like
isofs: Unknown ZF compression algorithm: PZ
The files will then appear as they were submitted to xorriso, i.e.
with zisofs2 header, block pointer list, and compressed data.
This complaint can be prevented by option -zisofs2-susp-z2 .
The files will be shown by unaware kernels as they were submitted
to xorriso, i.e. with zisofs2 header, block pointer list, and
compressed data.
-zisofs-version-2 also enables -z.
-zisofs-susp-z2
-zisofs2-susp-z2
Enable the production of SUSP entries "Z2" instead of "ZF" with
zisofs2 compressed files. Unaware Linux kernels are supposed to
silently ignore "Z2" entries.
zisofs2 compressed files. Unaware Linux kernels silently ignore
"Z2" entries.
-zisofs2-susp-zf
Enable the production of SUSP entries "ZF" instead of "Z2" with
zisofs2 compressed files. Unaware Linux kernels complain about
zisofs2 "ZF" by "Unknown ZF compression algorithm" and thus leave a
mark in the system log.
-root iso_rr_path
Insert all files under the given iso_rr_path. If option
-graft-points is given, then iso_rr_path is prepended to each
@ -2007,10 +2014,10 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
* --old-empty old block addresses for empty files: SetProduct.
(line 105)
* --old-root-devno enable disk idevno with -old-root: SetInsert.
(line 97)
(line 104)
* --old-root-no-ino disable disk ino with -old-root: SetInsert.
(line 86)
* --old-root-no-md5 disable MD5 with -old-root: SetInsert. (line 104)
(line 93)
* --old-root-no-md5 disable MD5 with -old-root: SetInsert. (line 111)
* --protective-msdos-label Patch System Area partition table: SystemArea.
(line 143)
* --quoted_path_list read pathspecs from disk file: SetInsert.
@ -2026,10 +2033,12 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
(line 23)
* --xattr Recording of any xattr: SetExtras. (line 116)
* --xattr Recording of user xattr: SetExtras. (line 109)
* --zisofs-susp-z2 produce Z2 for version 2 instead of ZF: SetInsert.
(line 64)
* --zisofs-version-2 enable recognition of zisofs2 files: SetInsert.
(line 55)
* --zisofs2-susp-z2 produce Z2 for version 2 instead of ZF: SetInsert.
(line 66)
* --zisofs2-susp-zf produce ZF for version 2 instead of Z2: SetInsert.
(line 70)
* -A set Application Id: ImageId. (line 34)
* -abstract set Abstract File path: ImageId. (line 57)
* -allow-lowercase lowercase in ISO file names: SetCompl. (line 42)
@ -2161,7 +2170,7 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
* -no-pad do not add zeros to ISO tree: SetProduct. (line 101)
* -o set output file address: SetProduct. (line 8)
* -old-exclude exclude disk files from inserting: SetInsert. (line 42)
* -old-root enable incremental insertion: SetInsert. (line 73)
* -old-root enable incremental insertion: SetInsert. (line 80)
* -omit-period omit trailing dot in ISO file names: SetCompl. (line 54)
* -omit-version-number omit version number in ISO file names: SetCompl.
(line 69)
@ -2193,7 +2202,7 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
* -relaxed-filenames 7-bit special characters in ISO file names: SetCompl.
(line 45)
* -rock Rock Ridge (is enabled by default): SetExtras. (line 13)
* -root redirect ISO root directory: SetInsert. (line 68)
* -root redirect ISO root directory: SetInsert. (line 75)
* -rr_reloc_dir set deep directory relocation target: SetExtras.
(line 74)
* -sparc-boot SUN SPARC boot images: SystemArea. (line 298)
@ -2341,12 +2350,12 @@ File: xorrisofs.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Hiding, from Joliet, -hide-joliet-list: SetHide. (line 22)
* Image size, alignment, -partition_cyl_align: SystemArea. (line 186)
* Incremental insertion, disable disk ino, --old-root-no-ino: SetInsert.
(line 86)
(line 93)
* Incremental insertion, disable MD5, --old-root-no-md5: SetInsert.
(line 104)
(line 111)
* Incremental insertion, enable disk devno, --old-root-devno: SetInsert.
(line 97)
* Incremental insertion, enable, -old-root: SetInsert. (line 73)
(line 104)
* Incremental insertion, enable, -old-root: SetInsert. (line 80)
* Interval reader for system area and partitions: SystemArea. (line 24)
* ISO 9660, _definition: Standards. (line 6)
* ISO 9660:1999, _definition: Standards. (line 26)
@ -2374,7 +2383,7 @@ File: xorrisofs.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
(line 23)
* ISO level, specify, -iso-level: SetCompl. (line 7)
* ISO level, specify, -iso-level <1>: SetCompl. (line 8)
* ISO root directory, redirect, -root: SetInsert. (line 68)
* ISO root directory, redirect, -root: SetInsert. (line 75)
* iso_rr_path, _definition: Insert. (line 8)
* Jigdo Template Extraction, -checksum-list: Jigdo. (line 77)
* Jigdo Template Extraction, -checksum_algorithm_iso: Jigdo. (line 86)
@ -2445,7 +2454,10 @@ File: xorrisofs.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* xattr, record and load, --xattr-any: SetExtras. (line 116)
* xorriso, mkisofs emulation: Xorriso. (line 6)
* xorriso, options: Options. (line 6)
* Z2 instead of ZF for version 2, -zisofs-susp-z2: SetInsert. (line 64)
* Z2 instead of ZF for version 2, -zisofs2-susp-z2: SetInsert.
(line 66)
* ZF instead of Z2 for version 2, -zisofs2-susp-zf: SetInsert.
(line 70)
* zisofs file, enable recognition, -z, -transparent-compression: SetInsert.
(line 47)
* zisofs2 file, enable recognition, -zisofs-version-2: SetInsert.
@ -2462,30 +2474,30 @@ Node: Xorriso5616
Node: Options6762
Node: Loading7489
Node: SetInsert9530
Node: SetProduct14570
Node: SetCompl20141
Node: SetExtras22733
Node: SetHide34342
Node: ImageId35646
Node: Bootable39928
Node: SystemArea46214
Node: Charset64563
Node: Jigdo65588
Node: Miscellaneous70558
Node: Examples72203
Node: ExSimple72697
Node: ExGraft73180
Node: ExMkisofs74480
Node: ExGrowisofs76288
Node: ExIncBackup77478
Node: ExIncBckAcc80654
Node: ExBootable82359
Node: Files86541
Node: Environ87636
Node: Seealso88509
Node: Bugreport89160
Node: Legal89753
Node: CommandIdx90650
Node: ConceptIdx107287
Node: SetProduct14900
Node: SetCompl20471
Node: SetExtras23063
Node: SetHide34672
Node: ImageId35976
Node: Bootable40258
Node: SystemArea46544
Node: Charset64893
Node: Jigdo65918
Node: Miscellaneous70888
Node: Examples72533
Node: ExSimple73027
Node: ExGraft73510
Node: ExMkisofs74810
Node: ExGrowisofs76618
Node: ExIncBackup77808
Node: ExIncBckAcc80984
Node: ExBootable82689
Node: Files86871
Node: Environ87966
Node: Seealso88839
Node: Bugreport89490
Node: Legal90083
Node: CommandIdx90980
Node: ConceptIdx107762

End Tag Table

View File

@ -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 XORRISOFS 1 "Version 1.5.3, Oct 27, 2020"
@c man .TH XORRISOFS 1 "Version 1.5.3, Oct 29, 2020"
@c man .\" Please adjust this date whenever revising the manpage.
@c man .\"
@c man .\" Some roff macros, for reference:
@ -429,22 +429,31 @@ Alias of -z.
@cindex zisofs2 file, enable recognition, --zisofs-version-2
@*
Enable the recognition and proper processing of experimental zisofs version 2
compressed files. The Linux kernel (as of 5.9) does not yet know this format
and will complain like
compressed files.
The Linux kernel (as of 5.9) does not yet know this format and will complain
like
@*
isofs: Unknown ZF compression algorithm: PZ
@*
The files will then appear as they were submitted to xorriso, i.e. with zisofs2
header, block pointer list, and compressed data.
This complaint can be prevented by option --zisofs2-susp-z2 .
@*
The files will be shown by unaware kernels as they were submitted to xorriso,
i.e. with zisofs2 header, block pointer list, and compressed data.
@*
--zisofs-version-2 also enables -z.
@c man .TP
@item --zisofs-susp-z2
@kindex --zisofs-susp-z2 produce Z2 for version 2 instead of ZF
@cindex Z2 instead of ZF for version 2, --zisofs-susp-z2
@item --zisofs2-susp-z2
@kindex --zisofs2-susp-z2 produce Z2 for version 2 instead of ZF
@cindex Z2 instead of ZF for version 2, --zisofs2-susp-z2
Enable the production of SUSP entries "Z2" instead of "ZF" with zisofs2
compressed files. Unaware Linux kernels are supposed to silently ignore "Z2"
entries.
compressed files. Unaware Linux kernels silently ignore "Z2" entries.
@c man .TP
@item --zisofs2-susp-zf
@kindex --zisofs2-susp-zf produce ZF for version 2 instead of Z2
@cindex ZF instead of Z2 for version 2, --zisofs2-susp-zf
Enable the production of SUSP entries "ZF" instead of "Z2" with zisofs2
compressed files. Unaware Linux kernels complain about zisofs2 "ZF" by
"Unknown ZF compression algorithm" and thus leave a mark in the system log.
@c man .TP
@item -root iso_rr_path
@kindex -root redirect ISO root directory