New command -read_fs

This commit is contained in:
Thomas Schmitt 2015-09-22 15:59:16 +00:00
parent 9c303135f6
commit 2e535ade2a
13 changed files with 168 additions and 93 deletions

View File

@ -274,6 +274,7 @@ Xorriso_option_publisher;
Xorriso_option_pvd_info; Xorriso_option_pvd_info;
Xorriso_option_pwdi; Xorriso_option_pwdi;
Xorriso_option_pwdx; Xorriso_option_pwdx;
Xorriso_option_read_fs;
Xorriso_option_read_mkisofsrc; Xorriso_option_read_mkisofsrc;
Xorriso_option_reassure; Xorriso_option_reassure;
Xorriso_option_report_about; Xorriso_option_report_about;

View File

@ -205,6 +205,7 @@ int Xorriso_new(struct XorrisO ** xorriso,char *progname, int flag)
m->image_start_value[0]= 0; m->image_start_value[0]= 0;
m->displacement= 0; m->displacement= 0;
m->displacement_sign= 0; m->displacement_sign= 0;
m->read_fs= 0;
m->drives_exclusive= 1; m->drives_exclusive= 1;
m->early_stdio_test= 0; m->early_stdio_test= 0;
m->cache_num_tiles= 0; m->cache_num_tiles= 0;

View File

@ -492,6 +492,10 @@ int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, char *show_adr,
goto ex; goto ex;
ext= isoburn_ropt_noiso1999; ext= isoburn_ropt_noiso1999;
if(xorriso->read_fs & 1)
ext|= isoburn_ropt_norock;
if(xorriso->read_fs & 2)
ext|= isoburn_ropt_nojoliet;
if((xorriso->ino_behavior & (1 | 2)) && !(xorriso->do_aaip & (1 | 4 | 32)) if((xorriso->ino_behavior & (1 | 2)) && !(xorriso->do_aaip & (1 | 4 | 32))
&& !(xorriso->do_md5 & 1) && !(xorriso->do_hfsplus)) && !(xorriso->do_md5 & 1) && !(xorriso->do_hfsplus))
ext|= isoburn_ropt_noaaip; ext|= isoburn_ropt_noaaip;
@ -514,16 +518,6 @@ int Xorriso_aquire_drive(struct XorrisO *xorriso, char *adr, char *show_adr,
else else
ext|= isoburn_ropt_map_stripped; ext|= isoburn_ropt_map_stripped;
/* >>> Next rev: more bits in do_*, #de fine Xorriso_provisory_read_optS 1 */
#ifdef Xorriso_provisory_read_optS
if(!xorriso->do_rockridge)
ext|= isoburn_ropt_norock;
if(!xorriso->do_joliet)
ext|= isoburn_ropt_nojoliet;
#endif /* Xorriso_provisory_read_optS */
isoburn_ropt_set_extensions(ropts, ext); isoburn_ropt_set_extensions(ropts, ext);
isoburn_ropt_set_default_perms(ropts, (uid_t) 0, (gid_t) 0, (mode_t) 0555); isoburn_ropt_set_default_perms(ropts, (uid_t) 0, (gid_t) 0, (mode_t) 0555);

View File

@ -1703,6 +1703,8 @@ int Xorriso_option_help(struct XorrisO *xorriso, int flag)
" When loading ISO tree or reading data files compensate a", " When loading ISO tree or reading data files compensate a",
" displacement versus the start address for which the image", " displacement versus the start address for which the image",
" was prepared.", " was prepared.",
" -read_fs \"any\"|\"norock\"|\"nojoliet\"|\"ecma119\"",
" Specify which kind of filesystem tree to load if present.",
" -rom_toc_scan \"on\"|\"force\"|\"off\"[:\"emul_on\"|\"emul_off\"]", " -rom_toc_scan \"on\"|\"force\"|\"off\"[:\"emul_on\"|\"emul_off\"]",
" [:\"emul_wide\"|\"emul_narrow\"]", " [:\"emul_wide\"|\"emul_narrow\"]",
" Enable scanning for ISO sessions on read-only drives/media", " Enable scanning for ISO sessions on read-only drives/media",

View File

@ -439,6 +439,26 @@ int Xorriso_option_pwdx(struct XorrisO *xorriso, int flag)
} }
/* Command -read_fs */
int Xorriso_option_read_fs(struct XorrisO *xorriso, char *mode, int flag)
{
if(strcmp(mode, "any") == 0) {
xorriso->read_fs= 0;
} else if(strcmp(mode, "norock") == 0) {
xorriso->read_fs= 1;
} else if(strcmp(mode, "nojoliet") == 0) {
xorriso->read_fs= 2;
} else if(strcmp(mode, "ecma119") == 0) {
xorriso->read_fs= 3;
} else {
sprintf(xorriso->info_text, "-read_fs: unknown mode '%s'", mode);
Xorriso_msgs_submit(xorriso, 0, xorriso->info_text, 0, "FAILURE", 0);
return(0);
}
return(1);
}
int Xorriso_option_read_mkisofsrc(struct XorrisO *xorriso, int flag) int Xorriso_option_read_mkisofsrc(struct XorrisO *xorriso, int flag)
{ {
int ret; int ret;

View File

@ -533,7 +533,7 @@ int Xorriso_count_args(struct XorrisO *xorriso, int argc, char **argv,
"pacifier","padding","path_list","pathspecs","pkt_output", "pacifier","padding","path_list","pathspecs","pkt_output",
"preparer_id","print","print_info","print_mark","prompt", "preparer_id","print","print_info","print_mark","prompt",
"prog","prog_help","publisher","quoted_not_list","quoted_path_list", "prog","prog_help","publisher","quoted_not_list","quoted_path_list",
"read_speed","reassure","report_about", "read_fs","read_speed","reassure","report_about",
"report_el_torito","report_system_area","rockridge", "report_el_torito","report_system_area","rockridge",
"rom_toc_scan","rr_reloc_dir","scsi_log", "rom_toc_scan","rr_reloc_dir","scsi_log",
"session_log","sh_style_result","signal_handling","sleep", "session_log","sh_style_result","signal_handling","sleep",
@ -668,7 +668,7 @@ int Xorriso_cmd_sorting_rank(struct XorrisO *xorriso,
"mount_opts", "mount_cmd", "session_string", "mount_opts", "mount_cmd", "session_string",
"* Influencing the behavior of image loading:", "* Influencing the behavior of image loading:",
"read_speed", "load", "displacement", "read_speed", "load", "displacement", "read_fs",
"drive_class", "assert_volid", "in_charset", "drive_class", "assert_volid", "in_charset",
"auto_charset", "hardlinks", "acl", "xattr", "md5", "for_backup", "auto_charset", "hardlinks", "acl", "xattr", "md5", "for_backup",
"ecma119_map", "ecma119_map",
@ -1646,6 +1646,10 @@ next_command:;
(*idx)++; (*idx)++;
ret= Xorriso_option_path_list(xorriso, arg1, 1); ret= Xorriso_option_path_list(xorriso, arg1, 1);
} else if(strcmp(cmd,"read_fs")==0) {
(*idx)++;
ret= Xorriso_option_read_fs(xorriso, arg1, 0);
} else if(strcmp(cmd,"read_mkisofsrc")==0) { } else if(strcmp(cmd,"read_mkisofsrc")==0) {
ret= Xorriso_option_read_mkisofsrc(xorriso, 0); ret= Xorriso_option_read_mkisofsrc(xorriso, 0);

View File

@ -3505,6 +3505,14 @@ int Xorriso_status(struct XorrisO *xorriso, char *filter, FILE *fp, int flag)
Xorriso_status_result(xorriso,filter,fp,flag&2); Xorriso_status_result(xorriso,filter,fp,flag&2);
} }
is_default= (xorriso->read_fs == 0);
sprintf(line, "-read_fs %s\n",
xorriso->read_fs == 0 ? "any" :
xorriso->read_fs == 1 ? "norock" :
xorriso->read_fs == 2 ? "nojoliet" : "ecma119");
if(!(is_default && no_defaults))
Xorriso_status_result(xorriso, filter, fp, flag & 2);
is_default= (xorriso->do_calm_drive & 1); is_default= (xorriso->do_calm_drive & 1);
sprintf(line,"-calm_drive %s\n", xorriso->do_calm_drive & 1 ? "on" : "off"); sprintf(line,"-calm_drive %s\n", xorriso->do_calm_drive & 1 ? "on" : "off");
if(!(is_default && no_defaults)) if(!(is_default && no_defaults))

View File

@ -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 XORRISO 1 "Version 1.4.1, Sep 20, 2015" .TH XORRISO 1 "Version 1.4.1, Sep 22, 2015"
.\" 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:
@ -814,6 +814,19 @@ Note: This is not a security feature but rather a bumper for the superuser to
prevent inadverted mishaps. For reliably blocking access to a device file you prevent inadverted mishaps. For reliably blocking access to a device file you
have to deny its rw\-permissions in the filesystem. have to deny its rw\-permissions in the filesystem.
.TP .TP
\fB\-read_fs\fR "any"|"norock"|"nojoliet"|"ecma119"
Specify which kind of filesystem tree to load if present. If the wish cannot
be fulfilled, then ECMA\-119 names are loaded and converted according
to \-ecma119_map.
.br
"any" first tries to read Rock Ridge. If not present, Joliet is tried.
.br
"norock" does not try Rock Ridge.
.br
"nojoliet" does not try Joliet.
.br
"ecma119" tries neither Rock Ridge nor Joliet.
.TP
\fB\-assert_volid\fR pattern severity \fB\-assert_volid\fR pattern severity
Refuse to load ISO images with volume IDs which do not match the given Refuse to load ISO images with volume IDs which do not match the given
search pattern. When refusing an image, give up the input drive and issue search pattern. When refusing an image, give up the input drive and issue
@ -3367,7 +3380,7 @@ It will overwrite the first 512 bytes of any data provided by system_area=.
Only a single boot file can be declared by mipsel_path=. Only a single boot file can be declared by mipsel_path=.
.br .br
\fBsparc_label=\fRtext causes the production of a SUN Disk Label with the \fBsparc_label=\fRtext causes the production of a SUN Disk Label with the
given text as ASCII label. Partitions 2 to 8 may occupied by appended images. given text as ASCII label. Partitions 2 to 8 may be occupied by appended images.
Partition 1 will always be the ISO image. See command \-append_partition. Partition 1 will always be the ISO image. See command \-append_partition.
The first 512 bytes of any data provided by system_area= will be overwritten. The first 512 bytes of any data provided by system_area= will be overwritten.
.br .br

View File

@ -1800,6 +1800,10 @@ int Xorriso_option_pwdi(struct XorrisO *xorriso, int flag);
/* Command -pwdx */ /* Command -pwdx */
int Xorriso_option_pwdx(struct XorrisO *xorriso, int flag); int Xorriso_option_pwdx(struct XorrisO *xorriso, int flag);
/* Command -read_fs */
/* @since 1.4.2 */
int Xorriso_option_read_fs(struct XorrisO *xorriso, char *mode, int flag);
/* Command -read_mkisofsrc */ /* Command -read_mkisofsrc */
/* @since 0.6.0 */ /* @since 0.6.0 */
int Xorriso_option_read_mkisofsrc(struct XorrisO *xorriso, int flag); int Xorriso_option_read_mkisofsrc(struct XorrisO *xorriso, int flag);

View File

@ -742,6 +742,15 @@ activate them only after image loading.
superuser to prevent inadverted mishaps. For reliably blocking superuser to prevent inadverted mishaps. For reliably blocking
access to a device file you have to deny its rw-permissions in the access to a device file you have to deny its rw-permissions in the
filesystem. filesystem.
-read_fs "any"|"norock"|"nojoliet"|"ecma119"
Specify which kind of filesystem tree to load if present. If the
wish cannot be fulfilled, then ECMA-119 names are loaded and
converted according to -ecma119_map.
"any" first tries to read Rock Ridge. If not present, Joliet is
tried.
"norock" does not try Rock Ridge.
"nojoliet" does not try Joliet.
"ecma119" tries neither Rock Ridge nor Joliet.
-assert_volid pattern severity -assert_volid pattern severity
Refuse to load ISO images with volume IDs which do not match the Refuse to load ISO images with volume IDs which do not match the
given search pattern. When refusing an image, give up the input given search pattern. When refusing an image, give up the input
@ -2836,8 +2845,8 @@ Examples:
data provided by system_area=. Only a single boot file can be data provided by system_area=. Only a single boot file can be
declared by mipsel_path=. declared by mipsel_path=.
*sparc_label=*text causes the production of a SUN Disk Label with *sparc_label=*text causes the production of a SUN Disk Label with
the given text as ASCII label. Partitions 2 to 8 may occupied by the given text as ASCII label. Partitions 2 to 8 may be occupied
appended images. Partition 1 will always be the ISO image. See by appended images. Partition 1 will always be the ISO image. See
command -append_partition. The first 512 bytes of any data command -append_partition. The first 512 bytes of any data
provided by system_area= will be overwritten. provided by system_area= will be overwritten.
*grub2_sparc_core=*iso_rr_path causes the content address and size *grub2_sparc_core=*iso_rr_path causes the content address and size
@ -5004,7 +5013,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* # starts a comment line: Scripting. (line 156) * # starts a comment line: Scripting. (line 156)
* -abort_on controls abort on error: Exception. (line 27) * -abort_on controls abort on error: Exception. (line 27)
* -abstract_file sets abstract file name: SetWrite. (line 228) * -abstract_file sets abstract file name: SetWrite. (line 228)
* -acl controls handling of ACLs: Loading. (line 162) * -acl controls handling of ACLs: Loading. (line 171)
* -add inserts one or more paths: Insert. (line 44) * -add inserts one or more paths: Insert. (line 44)
* -add_plainly inserts one or more paths: Insert. (line 62) * -add_plainly inserts one or more paths: Insert. (line 62)
* -alter_date sets timestamps in ISO image: Manip. (line 136) * -alter_date sets timestamps in ISO image: Manip. (line 136)
@ -5014,14 +5023,14 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -application_id sets application id: SetWrite. (line 191) * -application_id sets application id: SetWrite. (line 191)
* -application_use sets application use field: SetWrite. (line 250) * -application_use sets application use field: SetWrite. (line 250)
* -as emulates mkisofs or cdrecord: Emulation. (line 13) * -as emulates mkisofs or cdrecord: Emulation. (line 13)
* -assert_volid rejects undesired images: Loading. (line 102) * -assert_volid rejects undesired images: Loading. (line 111)
* -auto_charset learns character set from image: Loading. (line 114) * -auto_charset learns character set from image: Loading. (line 123)
* -backslash_codes enables backslash conversion: Scripting. (line 71) * -backslash_codes enables backslash conversion: Scripting. (line 71)
* -ban_stdio_write demands real drive: Loading. (line 296) * -ban_stdio_write demands real drive: Loading. (line 305)
* -biblio_file sets biblio file name: SetWrite. (line 234) * -biblio_file sets biblio file name: SetWrite. (line 234)
* -blank erases media: Writing. (line 57) * -blank erases media: Writing. (line 57)
* -boot_image controls bootability: Bootable. (line 65) * -boot_image controls bootability: Bootable. (line 65)
* -calm_drive reduces drive activity: Loading. (line 286) * -calm_drive reduces drive activity: Loading. (line 295)
* -cd sets working directory in ISO: Navigate. (line 7) * -cd sets working directory in ISO: Navigate. (line 7)
* -cdx sets working directory on disk: Navigate. (line 15) * -cdx sets working directory on disk: Navigate. (line 15)
* -changes_pending overrides change status: Writing. (line 12) * -changes_pending overrides change status: Writing. (line 12)
@ -5055,12 +5064,12 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -cp_rx copies file trees to disk: Restore. (line 103) * -cp_rx copies file trees to disk: Restore. (line 103)
* -cp_rx copies file trees to disk <1>: Restore. (line 111) * -cp_rx copies file trees to disk <1>: Restore. (line 111)
* -cut_out inserts piece of data file: Insert. (line 118) * -cut_out inserts piece of data file: Insert. (line 118)
* -data_cache_size adjusts read cache size: Loading. (line 312) * -data_cache_size adjusts read cache size: Loading. (line 321)
* -dev acquires one drive for input and output: AqDrive. (line 12) * -dev acquires one drive for input and output: AqDrive. (line 12)
* -devices gets list of drives: Inquiry. (line 7) * -devices gets list of drives: Inquiry. (line 7)
* -device_links gets list of drives: Inquiry. (line 17) * -device_links gets list of drives: Inquiry. (line 17)
* -dialog enables dialog mode: DialogCtl. (line 7) * -dialog enables dialog mode: DialogCtl. (line 7)
* -disk_dev_ino fast incremental backup: Loading. (line 217) * -disk_dev_ino fast incremental backup: Loading. (line 226)
* -disk_pattern controls pattern expansion: Insert. (line 34) * -disk_pattern controls pattern expansion: Insert. (line 34)
* -displacement compensate altered image start address: Loading. * -displacement compensate altered image start address: Loading.
(line 57) (line 57)
@ -5071,8 +5080,8 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -dusx show directory size on disk: Navigate. (line 85) * -dusx show directory size on disk: Navigate. (line 85)
* -dux show directory size on disk: Navigate. (line 81) * -dux show directory size on disk: Navigate. (line 81)
* -dvd_obs set write block size: SetWrite. (line 314) * -dvd_obs set write block size: SetWrite. (line 314)
* -early_stdio_test classifies stdio drives: Loading. (line 300) * -early_stdio_test classifies stdio drives: Loading. (line 309)
* -ecma119_map names w/o Rock Ridge, Joliet: Loading. (line 205) * -ecma119_map names w/o Rock Ridge, Joliet: Loading. (line 214)
* -eject ejects drive tray: Writing. (line 50) * -eject ejects drive tray: Writing. (line 50)
* -end writes pending session and ends program: Scripting. (line 151) * -end writes pending session and ends program: Scripting. (line 151)
* -errfile_log logs problematic disk files: Scripting. (line 116) * -errfile_log logs problematic disk files: Scripting. (line 116)
@ -5083,13 +5092,13 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -extract_cut copies file piece to disk: Restore. (line 80) * -extract_cut copies file piece to disk: Restore. (line 80)
* -extract_l copies files to disk: Restore. (line 76) * -extract_l copies files to disk: Restore. (line 76)
* -extract_single copies file to disk: Restore. (line 73) * -extract_single copies file to disk: Restore. (line 73)
* -file_name_limit curbs length of file names: Loading. (line 237) * -file_name_limit curbs length of file names: Loading. (line 246)
* -file_size_limit limits data file size: SetInsert. (line 7) * -file_size_limit limits data file size: SetInsert. (line 7)
* -find traverses and alters ISO tree: CmdFind. (line 7) * -find traverses and alters ISO tree: CmdFind. (line 7)
* -findx traverses disk tree: Navigate. (line 88) * -findx traverses disk tree: Navigate. (line 88)
* -follow softlinks and mount points: SetInsert. (line 69) * -follow softlinks and mount points: SetInsert. (line 69)
* -format formats media: Writing. (line 87) * -format formats media: Writing. (line 87)
* -for_backup -acl,-xattr,-hardlinks,-md5: Loading. (line 201) * -for_backup -acl,-xattr,-hardlinks,-md5: Loading. (line 210)
* -fs sets size of fifo: SetWrite. (line 366) * -fs sets size of fifo: SetWrite. (line 366)
* -getfacl shows ACL in ISO image: Navigate. (line 60) * -getfacl shows ACL in ISO image: Navigate. (line 60)
* -getfacl_r shows ACL in ISO image: Navigate. (line 66) * -getfacl_r shows ACL in ISO image: Navigate. (line 66)
@ -5097,13 +5106,13 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -getfattr_r shows xattr in ISO image: Navigate. (line 72) * -getfattr_r shows xattr in ISO image: Navigate. (line 72)
* -gid sets global ownership: SetWrite. (line 271) * -gid sets global ownership: SetWrite. (line 271)
* -grow_blindly overides next writeable address: AqDrive. (line 43) * -grow_blindly overides next writeable address: AqDrive. (line 43)
* -hardlinks controls handling of hard links: Loading. (line 125) * -hardlinks controls handling of hard links: Loading. (line 134)
* -help prints help text: Scripting. (line 19) * -help prints help text: Scripting. (line 19)
* -hfsplus enables production of HFS+ partition: SetWrite. (line 14) * -hfsplus enables production of HFS+ partition: SetWrite. (line 14)
* -hide excludes file names from directory trees: Manip. (line 171) * -hide excludes file names from directory trees: Manip. (line 171)
* -history brings text into readline history: Scripting. (line 42) * -history brings text into readline history: Scripting. (line 42)
* -indev acquires a drive for input: AqDrive. (line 23) * -indev acquires a drive for input: AqDrive. (line 23)
* -in_charset sets input character set: Loading. (line 109) * -in_charset sets input character set: Loading. (line 118)
* -iso_rr_pattern controls pattern expansion: Manip. (line 10) * -iso_rr_pattern controls pattern expansion: Manip. (line 10)
* -jigdo clears JTE or or adds parameter to JTE: Jigdo. (line 33) * -jigdo clears JTE or or adds parameter to JTE: Jigdo. (line 33)
* -joliet enables production of Joliet tree: SetWrite. (line 10) * -joliet enables production of Joliet tree: SetWrite. (line 10)
@ -5131,7 +5140,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -map_l inserts paths from disk file: Insert. (line 90) * -map_l inserts paths from disk file: Insert. (line 90)
* -map_single inserts path: Insert. (line 87) * -map_single inserts path: Insert. (line 87)
* -mark sets synchronizing message: Frontend. (line 23) * -mark sets synchronizing message: Frontend. (line 23)
* -md5 controls handling of MD5 sums: Loading. (line 173) * -md5 controls handling of MD5 sums: Loading. (line 182)
* -mkdir creates ISO directory: Insert. (line 156) * -mkdir creates ISO directory: Insert. (line 156)
* -modesty_on_drive keep drive buffer hungry: SetWrite. (line 320) * -modesty_on_drive keep drive buffer hungry: SetWrite. (line 320)
* -mount issues mount command for ISO session: Restore. (line 146) * -mount issues mount command for ISO session: Restore. (line 146)
@ -5172,6 +5181,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -pwdx tells working directory on disk: Navigate. (line 21) * -pwdx tells working directory on disk: Navigate. (line 21)
* -quoted_not_list sets exclusions: SetInsert. (line 66) * -quoted_not_list sets exclusions: SetInsert. (line 66)
* -quoted_path_list inserts paths from disk file: Insert. (line 79) * -quoted_path_list inserts paths from disk file: Insert. (line 79)
* -read_fs filesystem type for image loading: Loading. (line 102)
* -read_mkisofsrc searches and reads .mkisofsrc file: Emulation. * -read_mkisofsrc searches and reads .mkisofsrc file: Emulation.
(line 155) (line 155)
* -read_speed set read speed: Loading. (line 11) * -read_speed set read speed: Loading. (line 11)
@ -5187,7 +5197,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
(line 51) (line 51)
* -rollback discards pending changes: Writing. (line 9) * -rollback discards pending changes: Writing. (line 9)
* -rollback_end ends program without writing: Scripting. (line 154) * -rollback_end ends program without writing: Scripting. (line 154)
* -rom_toc_scan searches for sessions: Loading. (line 258) * -rom_toc_scan searches for sessions: Loading. (line 267)
* -rr_reloc_dir sets name of relocation directory: SetWrite. (line 144) * -rr_reloc_dir sets name of relocation directory: SetWrite. (line 144)
* -scdbackup_tag enables scdbackup checksum tag: Emulation. (line 179) * -scdbackup_tag enables scdbackup checksum tag: Emulation. (line 179)
* -scsi_log reports SCSI commands: Scripting. (line 143) * -scsi_log reports SCSI commands: Scripting. (line 143)
@ -5230,7 +5240,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -volume_date sets volume timestamp: SetWrite. (line 205) * -volume_date sets volume timestamp: SetWrite. (line 205)
* -write_type chooses TAO or SAO/DAO: SetWrite. (line 387) * -write_type chooses TAO or SAO/DAO: SetWrite. (line 387)
* -x enables automatic execution order of arguments: ArgSort. (line 16) * -x enables automatic execution order of arguments: ArgSort. (line 16)
* -xattr controls handling of xattr (EA): Loading. (line 169) * -xattr controls handling of xattr (EA): Loading. (line 178)
* -zisofs controls zisofs production: SetWrite. (line 274) * -zisofs controls zisofs production: SetWrite. (line 274)
 
@ -5242,7 +5252,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
[index] [index]
* Menu: * Menu:
* ACL, control handling, -acl: Loading. (line 162) * ACL, control handling, -acl: Loading. (line 171)
* ACL, set in ISO image, -setfacl: Manip. (line 68) * ACL, set in ISO image, -setfacl: Manip. (line 68)
* ACL, set in ISO image, -setfacl_list: Manip. (line 94) * ACL, set in ISO image, -setfacl_list: Manip. (line 94)
* ACL, set in ISO image, -setfacl_r: Manip. (line 92) * ACL, set in ISO image, -setfacl_r: Manip. (line 92)
@ -5256,18 +5266,18 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Appended partition, in MBR or GPT: Bootable. (line 233) * Appended partition, in MBR or GPT: Bootable. (line 233)
* Automatic execution order, of arguments, -x: ArgSort. (line 16) * Automatic execution order, of arguments, -x: ArgSort. (line 16)
* Backslash Interpretation, _definition: Processing. (line 53) * Backslash Interpretation, _definition: Processing. (line 53)
* Backup, enable fast incremental, -disk_dev_ino: Loading. (line 217) * Backup, enable fast incremental, -disk_dev_ino: Loading. (line 226)
* Backup, enable features, -for_backup: Loading. (line 201) * Backup, enable features, -for_backup: Loading. (line 210)
* Backup, scdbackup checksum tag, -scdbackup: Emulation. (line 179) * Backup, scdbackup checksum tag, -scdbackup: Emulation. (line 179)
* Blank media, _definition: Media. (line 29) * Blank media, _definition: Media. (line 29)
* Blind growing, _definition: Methods. (line 41) * Blind growing, _definition: Methods. (line 41)
* Bootability, control, -boot_image: Bootable. (line 65) * Bootability, control, -boot_image: Bootable. (line 65)
* Bugs, reporting: Bugreport. (line 6) * Bugs, reporting: Bugreport. (line 6)
* cdrecord, Emulation: Emulation. (line 120) * cdrecord, Emulation: Emulation. (line 120)
* Character Set, for input, -in_charset: Loading. (line 109) * Character Set, for input, -in_charset: Loading. (line 118)
* Character Set, for input/output, -charset: Charset. (line 54) * Character Set, for input/output, -charset: Charset. (line 54)
* Character Set, for output, -out_charset: SetWrite. (line 263) * Character Set, for output, -out_charset: SetWrite. (line 263)
* Character set, learn from image, -auto_charset: Loading. (line 114) * Character set, learn from image, -auto_charset: Loading. (line 123)
* Character Set, of terminal, -local_charset: Charset. (line 57) * Character Set, of terminal, -local_charset: Charset. (line 57)
* Character Set, _definition: Charset. (line 6) * Character Set, _definition: Charset. (line 6)
* CHRP partition, _definition: Bootable. (line 238) * CHRP partition, _definition: Bootable. (line 238)
@ -5294,8 +5304,8 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Directory, delete, -rmdir: Manip. (line 29) * Directory, delete, -rmdir: Manip. (line 29)
* disk_path, _definition: Insert. (line 6) * disk_path, _definition: Insert. (line 6)
* Drive, accessability, -drive_class: Loading. (line 73) * Drive, accessability, -drive_class: Loading. (line 73)
* Drive, classify stdio, -early_stdio_test: Loading. (line 300) * Drive, classify stdio, -early_stdio_test: Loading. (line 309)
* Drive, demand real MMC, -ban_stdio_write: Loading. (line 296) * Drive, demand real MMC, -ban_stdio_write: Loading. (line 305)
* Drive, eject tray, -eject: Writing. (line 50) * Drive, eject tray, -eject: Writing. (line 50)
* Drive, for input and output, -dev: AqDrive. (line 12) * Drive, for input and output, -dev: AqDrive. (line 12)
* Drive, for input, -indev: AqDrive. (line 23) * Drive, for input, -indev: AqDrive. (line 23)
@ -5303,7 +5313,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Drive, get drive list, -devices: Inquiry. (line 7) * Drive, get drive list, -devices: Inquiry. (line 7)
* Drive, get drive list, -device_links: Inquiry. (line 17) * Drive, get drive list, -device_links: Inquiry. (line 17)
* Drive, list supported media, -list_profiles: Writing. (line 177) * Drive, list supported media, -list_profiles: Writing. (line 177)
* Drive, reduce activity, -calm_drive: Loading. (line 286) * Drive, reduce activity, -calm_drive: Loading. (line 295)
* Drive, report SCSI commands, -scsi_log: Scripting. (line 143) * Drive, report SCSI commands, -scsi_log: Scripting. (line 143)
* Drive, write and eject, -commit_eject: Writing. (line 53) * Drive, write and eject, -commit_eject: Writing. (line 53)
* Drive, _definition: Drives. (line 6) * Drive, _definition: Drives. (line 6)
@ -5319,8 +5329,8 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Examples: Examples. (line 6) * Examples: Examples. (line 6)
* extattr, _definition: Extras. (line 66) * extattr, _definition: Extras. (line 66)
* File content, copy, -concat: Restore. (line 118) * File content, copy, -concat: Restore. (line 118)
* File names, curb length, -file_name_limit: Loading. (line 237) * File names, curb length, -file_name_limit: Loading. (line 246)
* File names, if neither Rock Ridge nor Joliet: Loading. (line 205) * File names, if neither Rock Ridge nor Joliet: Loading. (line 214)
* Filter, apply to file tree, -set_filter_r: Filter. (line 84) * Filter, apply to file tree, -set_filter_r: Filter. (line 84)
* Filter, apply to file, -set_filter: Filter. (line 58) * Filter, apply to file, -set_filter: Filter. (line 58)
* Filter, ban registration, -close_filter_list: Filter. (line 50) * Filter, ban registration, -close_filter_list: Filter. (line 50)
@ -5337,14 +5347,15 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Group, in ISO image, -chgrp: Manip. (line 49) * Group, in ISO image, -chgrp: Manip. (line 49)
* Group, in ISO image, -chgrp_r: Manip. (line 53) * Group, in ISO image, -chgrp_r: Manip. (line 53)
* Growing, _definition: Methods. (line 20) * Growing, _definition: Methods. (line 20)
* Hard links, control handling, -hardlinks: Loading. (line 125) * Hard links, control handling, -hardlinks: Loading. (line 134)
* HFS+ allocation block size: Bootable. (line 342) * HFS+ allocation block size: Bootable. (line 342)
* HFS+ serial number: Bootable. (line 339) * HFS+ serial number: Bootable. (line 339)
* hidden, set in ISO image, -hide: Manip. (line 171) * hidden, set in ISO image, -hide: Manip. (line 171)
* HP-PA boot sector, production: Bootable. (line 314) * HP-PA boot sector, production: Bootable. (line 314)
* Image reading, cache size, -data_cache_size: Loading. (line 312) * Image reading, cache size, -data_cache_size: Loading. (line 321)
* Image, demand volume ID, -assert_volid: Loading. (line 102) * Image, demand volume ID, -assert_volid: Loading. (line 111)
* Image, discard pending changes, -rollback: Writing. (line 9) * Image, discard pending changes, -rollback: Writing. (line 9)
* Image, filesystem to load, -read_fs: Loading. (line 102)
* Image, override change status, -changes_pending: Writing. (line 12) * Image, override change status, -changes_pending: Writing. (line 12)
* Image, set abstract file name, -abstract_file: SetWrite. (line 228) * Image, set abstract file name, -abstract_file: SetWrite. (line 228)
* Image, set application id, -application_id: SetWrite. (line 191) * Image, set application id, -application_id: SetWrite. (line 191)
@ -5395,7 +5406,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Local Character Set, _definition: Charset. (line 11) * Local Character Set, _definition: Charset. (line 11)
* MBR, set, -boot_image system_area=: Bootable. (line 184) * MBR, set, -boot_image system_area=: Bootable. (line 184)
* MBR, _definition: Extras. (line 27) * MBR, _definition: Extras. (line 27)
* MD5, control handling, -md5: Loading. (line 173) * MD5, control handling, -md5: Loading. (line 182)
* Media, erase, -blank: Writing. (line 57) * Media, erase, -blank: Writing. (line 57)
* Media, format, -format: Writing. (line 87) * Media, format, -format: Writing. (line 87)
* Media, list formats, -list_formats: Writing. (line 129) * Media, list formats, -list_formats: Writing. (line 129)
@ -5499,7 +5510,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* SUN SPARC boot images, activation: Bootable. (line 377) * SUN SPARC boot images, activation: Bootable. (line 377)
* Symbolic link, create, -lns: Insert. (line 160) * Symbolic link, create, -lns: Insert. (line 160)
* System area, _definition: Bootable. (line 184) * System area, _definition: Bootable. (line 184)
* Table-of-content, search sessions, -rom_toc_scan: Loading. (line 258) * Table-of-content, search sessions, -rom_toc_scan: Loading. (line 267)
* Table-of-content, show, -toc: Inquiry. (line 27) * Table-of-content, show, -toc: Inquiry. (line 27)
* Timestamps, set in ISO image, -alter_date: Manip. (line 136) * Timestamps, set in ISO image, -alter_date: Manip. (line 136)
* Timestamps, set in ISO image, -alter_date_r: Manip. (line 168) * Timestamps, set in ISO image, -alter_date_r: Manip. (line 168)
@ -5533,7 +5544,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Write, set speed, -speed: SetWrite. (line 285) * Write, set speed, -speed: SetWrite. (line 285)
* Write, simulation, -dummy: SetWrite. (line 363) * Write, simulation, -dummy: SetWrite. (line 363)
* Write, TAO or SAO/DAO, -write_type: SetWrite. (line 387) * Write, TAO or SAO/DAO, -write_type: SetWrite. (line 387)
* xattr, control handling, -xattr: Loading. (line 169) * xattr, control handling, -xattr: Loading. (line 178)
* xattr, set in ISO image, -setfattr: Manip. (line 103) * xattr, set in ISO image, -setfattr: Manip. (line 103)
* xattr, set in ISO image, -setfattr_list: Manip. (line 117) * xattr, set in ISO image, -setfattr_list: Manip. (line 117)
* xattr, set in ISO image, -setfattr_r: Manip. (line 115) * xattr, set in ISO image, -setfattr_r: Manip. (line 115)
@ -5557,47 +5568,47 @@ Node: Commands24952
Node: ArgSort26629 Node: ArgSort26629
Node: AqDrive28123 Node: AqDrive28123
Node: Loading31178 Node: Loading31178
Node: Insert50165 Node: Insert50599
Node: SetInsert60390 Node: SetInsert60824
Node: Manip69241 Node: Manip69675
Node: CmdFind79024 Node: CmdFind79458
Node: Filter97119 Node: Filter97553
Node: Writing101741 Node: Writing102175
Node: SetWrite111896 Node: SetWrite112330
Node: Bootable134840 Node: Bootable135274
Node: Jigdo157365 Node: Jigdo157802
Node: Charset161624 Node: Charset162061
Node: Exception164951 Node: Exception165388
Node: DialogCtl171080 Node: DialogCtl171517
Node: Inquiry173682 Node: Inquiry174119
Node: Navigate182132 Node: Navigate182569
Node: Verify190427 Node: Verify190864
Node: Restore200304 Node: Restore200741
Node: Emulation208917 Node: Emulation209354
Node: Scripting219327 Node: Scripting219764
Node: Frontend227109 Node: Frontend227546
Node: Examples236744 Node: Examples237181
Node: ExDevices237922 Node: ExDevices238359
Node: ExCreate238583 Node: ExCreate239020
Node: ExDialog239883 Node: ExDialog240320
Node: ExGrowing241154 Node: ExGrowing241591
Node: ExModifying241963 Node: ExModifying242400
Node: ExBootable242473 Node: ExBootable242910
Node: ExCharset243028 Node: ExCharset243465
Node: ExPseudo243924 Node: ExPseudo244361
Node: ExCdrecord244851 Node: ExCdrecord245288
Node: ExMkisofs245171 Node: ExMkisofs245608
Node: ExGrowisofs246528 Node: ExGrowisofs246965
Node: ExException247682 Node: ExException248119
Node: ExTime248140 Node: ExTime248577
Node: ExIncBackup248598 Node: ExIncBackup249035
Node: ExRestore252624 Node: ExRestore253061
Node: ExRecovery253570 Node: ExRecovery254007
Node: Files254142 Node: Files254579
Node: Seealso255476 Node: Seealso255913
Node: Bugreport256191 Node: Bugreport256628
Node: Legal256782 Node: Legal257219
Node: CommandIdx257794 Node: CommandIdx258231
Node: ConceptIdx274763 Node: ConceptIdx275273
 
End Tag Table End Tag Table

View File

@ -50,7 +50,7 @@
@c man .\" First parameter, NAME, should be all caps @c man .\" First parameter, NAME, should be all caps
@c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection @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 .\" other parameters are allowed: see man(7), man(1)
@c man .TH XORRISO 1 "Version 1.4.1, Sep 20, 2015" @c man .TH XORRISO 1 "Version 1.4.1, Sep 22, 2015"
@c man .\" Please adjust this date whenever revising the manpage. @c man .\" Please adjust this date whenever revising the manpage.
@c man .\" @c man .\"
@c man .\" Some roff macros, for reference: @c man .\" Some roff macros, for reference:
@ -1041,6 +1041,21 @@ Note: This is not a security feature but rather a bumper for the superuser to
prevent inadverted mishaps. For reliably blocking access to a device file you prevent inadverted mishaps. For reliably blocking access to a device file you
have to deny its rw-permissions in the filesystem. have to deny its rw-permissions in the filesystem.
@c man .TP @c man .TP
@item -read_fs "any"|"norock"|"nojoliet"|"ecma119"
@kindex -read_fs filesystem type for image loading
@cindex Image, filesystem to load, -read_fs
Specify which kind of filesystem tree to load if present. If the wish cannot
be fulfilled, then ECMA-119 names are loaded and converted according
to -ecma119_map.
@*
"any" first tries to read Rock Ridge. If not present, Joliet is tried.
@*
"norock" does not try Rock Ridge.
@*
"nojoliet" does not try Joliet.
@*
"ecma119" tries neither Rock Ridge nor Joliet.
@c man .TP
@item -assert_volid pattern severity @item -assert_volid pattern severity
@kindex -assert_volid rejects undesired images @kindex -assert_volid rejects undesired images
@cindex Image, demand volume ID, -assert_volid @cindex Image, demand volume ID, -assert_volid
@ -3910,7 +3925,7 @@ Only a single boot file can be declared by mipsel_path=.
@* @*
@cindex SUN Disk Label, production @cindex SUN Disk Label, production
@strong{sparc_label=}text causes the production of a SUN Disk Label with the @strong{sparc_label=}text causes the production of a SUN Disk Label with the
given text as ASCII label. Partitions 2 to 8 may occupied by appended images. given text as ASCII label. Partitions 2 to 8 may be occupied by appended images.
Partition 1 will always be the ISO image. See command -append_partition. Partition 1 will always be the ISO image. See command -append_partition.
The first 512 bytes of any data provided by system_area= will be overwritten. The first 512 bytes of any data provided by system_area= will be overwritten.
@* @*

View File

@ -278,6 +278,8 @@ struct XorrisO { /* the global context of xorriso */
uint32_t displacement; uint32_t displacement;
int displacement_sign; int displacement_sign;
int read_fs; /* bit0=norock , bit1=nojoliet */
int drives_exclusive; /* burn_preset_device_open() param exclusive */ int drives_exclusive; /* burn_preset_device_open() param exclusive */
int early_stdio_test; /* For burn_allow_drive_role_4(): int early_stdio_test; /* For burn_allow_drive_role_4():

View File

@ -1 +1 @@
#define Xorriso_timestamP "2015.09.20.125159" #define Xorriso_timestamP "2015.09.22.155937"