New -as mkisofs option --norock
This commit is contained in:
parent
4eb38ab9c9
commit
caeef32866
@ -575,7 +575,7 @@ int Xorriso_genisofs_count_args(struct XorrisO *xorriso, int argc, char **argv,
|
|||||||
"--protective-msdos-label", "--boot-catalog-hide", "--no-emul-toc",
|
"--protective-msdos-label", "--boot-catalog-hide", "--no-emul-toc",
|
||||||
"--emul-toc", "-disallow_dir_id_ext", "--old-empty",
|
"--emul-toc", "-disallow_dir_id_ext", "--old-empty",
|
||||||
"--old-root-no-md5", "--old-root-devno", "--old-root-no-ino",
|
"--old-root-no-md5", "--old-root-devno", "--old-root-no-ino",
|
||||||
"--no_rc",
|
"--no_rc", "--norock"
|
||||||
""
|
""
|
||||||
};
|
};
|
||||||
static char arg1_options[][41]= {
|
static char arg1_options[][41]= {
|
||||||
@ -759,6 +759,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
|
|||||||
" -quiet Run quietly",
|
" -quiet Run quietly",
|
||||||
" -R, -rock Generate Rock Ridge directory information",
|
" -R, -rock Generate Rock Ridge directory information",
|
||||||
" -r, -rational-rock Generate rationalized Rock Ridge directory information",
|
" -r, -rational-rock Generate rationalized Rock Ridge directory information",
|
||||||
|
" --norock Disable Rock Ridge. (Strongly discouraged !)",
|
||||||
" --hardlinks Record eventual hard link relations of files",
|
" --hardlinks Record eventual hard link relations of files",
|
||||||
" --acl Record eventual ACLs of files",
|
" --acl Record eventual ACLs of files",
|
||||||
" --xattr Record eventual user space xattr of files",
|
" --xattr Record eventual user space xattr of files",
|
||||||
@ -1012,10 +1013,13 @@ int Xorriso_genisofs_fused_options(struct XorrisO *xorriso, char *whom,
|
|||||||
continue;
|
continue;
|
||||||
Xorriso_relax_compliance(xorriso, "omit_version", 0);
|
Xorriso_relax_compliance(xorriso, "omit_version", 0);
|
||||||
} else if(*cpt == 'R') {
|
} else if(*cpt == 'R') {
|
||||||
/* inavoidable */;
|
if(flag & 2)
|
||||||
|
continue;
|
||||||
|
xorriso->do_rockridge= 1;
|
||||||
} else if(*cpt == 'r') {
|
} else if(*cpt == 'r') {
|
||||||
if(flag & 2)
|
if(flag & 2)
|
||||||
continue;
|
continue;
|
||||||
|
xorriso->do_rockridge= 1;
|
||||||
*lower_r= 1;
|
*lower_r= 1;
|
||||||
} else if(*cpt == 'T') {
|
} else if(*cpt == 'T') {
|
||||||
/* ignored */;
|
/* ignored */;
|
||||||
@ -1453,9 +1457,13 @@ illegal_c:;
|
|||||||
continue;
|
continue;
|
||||||
if(strcmp(argpt, "-version")==0) {
|
if(strcmp(argpt, "-version")==0) {
|
||||||
/* was already handled in first argument scan */;
|
/* was already handled in first argument scan */;
|
||||||
|
} else if(strcmp(argpt, "--norock")==0) {
|
||||||
|
xorriso->do_rockridge= 0;
|
||||||
} else if(strcmp(argpt, "-R")==0 || strcmp(argpt, "-rock")==0) {
|
} else if(strcmp(argpt, "-R")==0 || strcmp(argpt, "-rock")==0) {
|
||||||
/* ok */;
|
ret= Xorriso_genisofs_fused_options(xorriso, whom, "R",
|
||||||
|
&option_d, &iso_level, &lower_r, ra_text, 0);
|
||||||
|
if(ret <= 0)
|
||||||
|
goto problem_handler_2;
|
||||||
} else if(strcmp(argpt, "-r")==0 || strcmp(argpt, "-rational-rock")==0){
|
} else if(strcmp(argpt, "-r")==0 || strcmp(argpt, "-rational-rock")==0){
|
||||||
ret= Xorriso_genisofs_fused_options(xorriso, whom, "r",
|
ret= Xorriso_genisofs_fused_options(xorriso, whom, "r",
|
||||||
&option_d, &iso_level, &lower_r, ra_text, 0);
|
&option_d, &iso_level, &lower_r, ra_text, 0);
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2012.05.22.121401"
|
#define Xorriso_timestamP "2012.05.22.121743"
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
.\" First parameter, NAME, should be all caps
|
.\" First parameter, NAME, should be all caps
|
||||||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||||
.\" other parameters are allowed: see man(7), man(1)
|
.\" other parameters are allowed: see man(7), man(1)
|
||||||
.TH XORRISOFS 1 "Version 1.2.3, Apr 11, 2012"
|
.TH XORRISOFS 1 "Version 1.2.3, May 22, 2012"
|
||||||
.\" Please adjust this date whenever revising the manpage.
|
.\" Please adjust this date whenever revising the manpage.
|
||||||
.\"
|
.\"
|
||||||
.\" Some roff macros, for reference:
|
.\" Some roff macros, for reference:
|
||||||
@ -60,8 +60,8 @@ with ownership, access permissions, symbolic links, and other attributes.
|
|||||||
Rock Ridge allows filenames of up to 255 bytes and paths of up to
|
Rock Ridge allows filenames of up to 255 bytes and paths of up to
|
||||||
1024 bytes.
|
1024 bytes.
|
||||||
.br
|
.br
|
||||||
Rock Ridge information is produced unconditionally with any \fBxorrisofs\fR
|
xorrisofs produces Rock Ridge information by default. It is strongly
|
||||||
image.
|
discouraged to disable this feature.
|
||||||
.br
|
.br
|
||||||
\fBJoliet\fR
|
\fBJoliet\fR
|
||||||
is the name of an additional directory tree which provides
|
is the name of an additional directory tree which provides
|
||||||
@ -86,8 +86,9 @@ Production of this directory tree may be enabled by option \-iso\-level 4.
|
|||||||
is a path to an object in the local filesystem tree.
|
is a path to an object in the local filesystem tree.
|
||||||
.br
|
.br
|
||||||
\fBiso_rr_path\fR
|
\fBiso_rr_path\fR
|
||||||
is the Rock Ridge address of a file object in the ISO image. (Do not
|
is the Rock Ridge address of a file object in the ISO image.
|
||||||
confuse with the lowlevel ISO 9660 names visible if Rock Ridge gets ignored.)
|
If no Rock Ridge information shall be stored in an emerging ISO, then the
|
||||||
|
names will get mapped to ISO 9660 names of limited length and character set.
|
||||||
.br
|
.br
|
||||||
.PP
|
.PP
|
||||||
A program argument is handled as a \fBpathspec\fR, if it is not
|
A program argument is handled as a \fBpathspec\fR, if it is not
|
||||||
@ -483,7 +484,8 @@ Alias of \-N.
|
|||||||
\fB\-R\fR
|
\fB\-R\fR
|
||||||
.br
|
.br
|
||||||
With mkisofs this option enables Rock Ridge extensions. \fBxorrisofs\fR
|
With mkisofs this option enables Rock Ridge extensions. \fBxorrisofs\fR
|
||||||
produces them unconditionally.
|
produces them by default. It is strongly discouraged to disable them
|
||||||
|
by option \-\-norock.
|
||||||
.TP
|
.TP
|
||||||
\fB\-rock\fR
|
\fB\-rock\fR
|
||||||
.br
|
.br
|
||||||
@ -499,6 +501,13 @@ Remove s\-bit and t\-bit.
|
|||||||
\fB\-rational-rock\fR
|
\fB\-rational-rock\fR
|
||||||
Alias of \-r.
|
Alias of \-r.
|
||||||
.TP
|
.TP
|
||||||
|
\fB--norock\fR
|
||||||
|
.br
|
||||||
|
This option disables the production of Rock Ridge extensions for the
|
||||||
|
ISO 9660 file objects. The multi\-session capabilities of \fBxorrisofs\fR
|
||||||
|
depend much on the naming fidelity of Rock Ridge. So it is strongly
|
||||||
|
discouraged to disable it by this option.
|
||||||
|
.TP
|
||||||
\fB\-D\fR
|
\fB\-D\fR
|
||||||
The standard ECMA\-119 demands that no path in the image shall have more
|
The standard ECMA\-119 demands that no path in the image shall have more
|
||||||
than 8 name components or 255 characters. Therefore it would be necessary
|
than 8 name components or 255 characters. Therefore it would be necessary
|
||||||
|
@ -67,8 +67,8 @@ enhance an ISO 9660 filesystem so that it can represent a POSIX
|
|||||||
compliant filesystem with ownership, access permissions, symbolic
|
compliant filesystem with ownership, access permissions, symbolic
|
||||||
links, and other attributes. Rock Ridge allows filenames of up to 255
|
links, and other attributes. Rock Ridge allows filenames of up to 255
|
||||||
bytes and paths of up to 1024 bytes.
|
bytes and paths of up to 1024 bytes.
|
||||||
Rock Ridge information is produced unconditionally with any `xorrisofs'
|
xorrisofs produces Rock Ridge information by default. It is strongly
|
||||||
image.
|
discouraged to disable this feature.
|
||||||
*Joliet* is the name of an additional directory tree which provides
|
*Joliet* is the name of an additional directory tree which provides
|
||||||
filenames up to 64 characters encoded as UTF-16. A Joliet tree is
|
filenames up to 64 characters encoded as UTF-16. A Joliet tree is
|
||||||
mainly interesting for reading the ISO image by operating systems of
|
mainly interesting for reading the ISO image by operating systems of
|
||||||
@ -90,8 +90,9 @@ File: xorrisofs.info, Node: Insert, Next: Xorriso, Prev: Standards, Up: Top
|
|||||||
`xorrisofs' deals with two kinds of file addresses:
|
`xorrisofs' deals with two kinds of file addresses:
|
||||||
*disk_path* is a path to an object in the local filesystem tree.
|
*disk_path* is a path to an object in the local filesystem tree.
|
||||||
*iso_rr_path* is the Rock Ridge address of a file object in the ISO
|
*iso_rr_path* is the Rock Ridge address of a file object in the ISO
|
||||||
image. (Do not confuse with the lowlevel ISO 9660 names visible if Rock
|
image. If no Rock Ridge information shall be stored in an emerging
|
||||||
Ridge gets ignored.)
|
ISO, then the names will get mapped to ISO 9660 names of limited length
|
||||||
|
and character set.
|
||||||
|
|
||||||
A program argument is handled as a *pathspec*, if it is not recognized
|
A program argument is handled as a *pathspec*, if it is not recognized
|
||||||
as original mkisofs option or additional `xorrisofs' option. A
|
as original mkisofs option or additional `xorrisofs' option. A
|
||||||
@ -498,7 +499,8 @@ File: xorrisofs.info, Node: SetExtras, Next: SetHide, Prev: SetCompl, Up: Op
|
|||||||
|
|
||||||
-R
|
-R
|
||||||
With mkisofs this option enables Rock Ridge extensions. `xorrisofs'
|
With mkisofs this option enables Rock Ridge extensions. `xorrisofs'
|
||||||
produces them unconditionally.
|
produces them by default. It is strongly discouraged to disable
|
||||||
|
them by option --norock.
|
||||||
|
|
||||||
-rock
|
-rock
|
||||||
Alias of -R.
|
Alias of -R.
|
||||||
@ -512,6 +514,12 @@ File: xorrisofs.info, Node: SetExtras, Next: SetHide, Prev: SetCompl, Up: Op
|
|||||||
-rational-rock
|
-rational-rock
|
||||||
Alias of -r.
|
Alias of -r.
|
||||||
|
|
||||||
|
--norock
|
||||||
|
This option disables the production of Rock Ridge extensions for
|
||||||
|
the ISO 9660 file objects. The multi-session capabilities of
|
||||||
|
`xorrisofs' depend much on the naming fidelity of Rock Ridge. So
|
||||||
|
it is strongly discouraged to disable it by this option.
|
||||||
|
|
||||||
-D
|
-D
|
||||||
The standard ECMA-119 demands that no path in the image shall have
|
The standard ECMA-119 demands that no path in the image shall have
|
||||||
more than 8 name components or 255 characters. Therefore it would
|
more than 8 name components or 255 characters. Therefore it would
|
||||||
@ -1546,18 +1554,19 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
|
|||||||
|