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",
|
||||
"--emul-toc", "-disallow_dir_id_ext", "--old-empty",
|
||||
"--old-root-no-md5", "--old-root-devno", "--old-root-no-ino",
|
||||
"--no_rc",
|
||||
"--no_rc", "--norock"
|
||||
""
|
||||
};
|
||||
static char arg1_options[][41]= {
|
||||
@ -759,6 +759,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
|
||||
" -quiet Run quietly",
|
||||
" -R, -rock Generate 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",
|
||||
" --acl Record eventual ACLs 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;
|
||||
Xorriso_relax_compliance(xorriso, "omit_version", 0);
|
||||
} else if(*cpt == 'R') {
|
||||
/* inavoidable */;
|
||||
if(flag & 2)
|
||||
continue;
|
||||
xorriso->do_rockridge= 1;
|
||||
} else if(*cpt == 'r') {
|
||||
if(flag & 2)
|
||||
continue;
|
||||
xorriso->do_rockridge= 1;
|
||||
*lower_r= 1;
|
||||
} else if(*cpt == 'T') {
|
||||
/* ignored */;
|
||||
@ -1453,9 +1457,13 @@ illegal_c:;
|
||||
continue;
|
||||
if(strcmp(argpt, "-version")==0) {
|
||||
/* 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) {
|
||||
/* 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){
|
||||
ret= Xorriso_genisofs_fused_options(xorriso, whom, "r",
|
||||
&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
|
||||
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
||||
.\" 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.
|
||||
.\"
|
||||
.\" 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
|
||||
1024 bytes.
|
||||
.br
|
||||
Rock Ridge information is produced unconditionally with any \fBxorrisofs\fR
|
||||
image.
|
||||
xorrisofs produces Rock Ridge information by default. It is strongly
|
||||
discouraged to disable this feature.
|
||||
.br
|
||||
\fBJoliet\fR
|
||||
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.
|
||||
.br
|
||||
\fBiso_rr_path\fR
|
||||
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 Ridge gets ignored.)
|
||||
is the Rock Ridge address of a file object in the ISO image.
|
||||
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
|
||||
.PP
|
||||
A program argument is handled as a \fBpathspec\fR, if it is not
|
||||
@ -483,7 +484,8 @@ Alias of \-N.
|
||||
\fB\-R\fR
|
||||
.br
|
||||
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
|
||||
\fB\-rock\fR
|
||||
.br
|
||||
@ -499,6 +501,13 @@ Remove s\-bit and t\-bit.
|
||||
\fB\-rational-rock\fR
|
||||
Alias of \-r.
|
||||
.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
|
||||
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
|
||||
|
@ -67,8 +67,8 @@ enhance an ISO 9660 filesystem so that it can represent a POSIX
|
||||
compliant filesystem with ownership, access permissions, symbolic
|
||||
links, and other attributes. Rock Ridge allows filenames of up to 255
|
||||
bytes and paths of up to 1024 bytes.
|
||||
Rock Ridge information is produced unconditionally with any `xorrisofs'
|
||||
image.
|
||||
xorrisofs produces Rock Ridge information by default. It is strongly
|
||||
discouraged to disable this feature.
|
||||
*Joliet* is the name of an additional directory tree which provides
|
||||
filenames up to 64 characters encoded as UTF-16. A Joliet tree is
|
||||
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:
|
||||
*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
|
||||
image. (Do not confuse with the lowlevel ISO 9660 names visible if Rock
|
||||
Ridge gets ignored.)
|
||||
image. 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.
|
||||
|
||||
A program argument is handled as a *pathspec*, if it is not recognized
|
||||
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
|
||||
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
|
||||
Alias of -R.
|
||||
@ -512,6 +514,12 @@ File: xorrisofs.info, Node: SetExtras, Next: SetHide, Prev: SetCompl, Up: Op
|
||||
-rational-rock
|
||||
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
|
||||
The standard ECMA-119 demands that no path in the image shall have
|
||||
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
|
||||
|