New command -assess_indev_features

This commit is contained in:
2022-09-20 10:28:25 +02:00
parent d2fd48fcbc
commit e594ba293a
10 changed files with 637 additions and 126 deletions

View File

@ -3734,6 +3734,40 @@ File: xorriso.info, Node: Inquiry, Next: Navigate, Prev: DialogCtl, Up: Comm
short summary of drive state and medium content is printed.
As further difference to -toc, this command does not emit FAILURE
events if the desired drive is not acquired.
-assess_indev_features "plain"|"cmd"|"as_mkisofs"|"replay"
Inspect the filesystem on -indev for the presence of Rock Ridge,
Joliet, or ISO 9660:1999, and for traces of other write options
which seem to have been used when the filesystem was created.
Note that this command does not detect and report a possibly
present HFS+ tree.
Mode "cmd" lists xorriso commands which would activate the detected
settings.
Mode "as_mkisofs" lists options of the -as mkisofs emulation, which
would activate those of the detected settings which are not
default.
Mode "replay" performs the commands which get listed by mode "cmd".
Mode "plain" lists after a "Indev feature: " header name-value
pairs as delivered by libisofs function
iso_read_image_feature_named(). See libisofs.h. The other modes
derive their output from this list. I.e. the sequence of commands
from "cmd" follows the sequence of "plain".
Not leading to "cmd" lines are:
"size=" tells the number of 2048 byte blocks of the filesystem.
"eltorito=1" tells that El Torito boot equipment was detected.
"tree_loaded=" tells which tree was loaded by -indev:
0 = ISO 9660 , 1 = Joliet , 2 = ISO 9660:1999
"tree_loaded_text=" tells the same by name: "ISO9660", "Joliet",
"ISO9660:1999"
"rr_loaded=1" tells that Rock Ridge information was loaded with the
tree.
"aaip=1" tells that AAIP information was detected (ACL, xattr, MD5,
...).
"relaxed_vol_atts=1" tells that the volume attributes like -volid
or -preparer_id bear characters outside the restricted character
sets which are specified for them by ECMA-119.
"rrip_1_10_px_ino=1" tells that with Rock Ridge 1.10 a PX entry was
found which looks like from Rock Ridge 1.12.
-mount_cmd drive entity id path
Emit an appropriate command line for mounting the ISO session
indicated by drive, entity and id. The result will be different on
@ -5603,6 +5637,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -application_use sets application use field: SetWrite. (line 272)
* -as emulates mkisofs or cdrecord: Emulation. (line 13)
* -assert_volid rejects undesired images: Loading. (line 105)
* -assess_indev_features shows filesystem features: Inquiry. (line 49)
* -auto_charset learns character set from image: Loading. (line 117)
* -backslash_codes enables backslash conversion: Scripting. (line 71)
* -ban_stdio_write demands real drive: Loading. (line 346)
@ -5729,8 +5764,8 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -mkdir creates ISO directory: Insert. (line 187)
* -modesty_on_drive keep drive buffer hungry: SetWrite. (line 419)
* -mount issues mount command for ISO session: Restore. (line 204)
* -mount_cmd composes mount command line: Inquiry. (line 49)
* -mount_cmd controls mount command: Inquiry. (line 65)
* -mount_cmd composes mount command line: Inquiry. (line 83)
* -mount_cmd controls mount command: Inquiry. (line 99)
* -msg_op perform operations on program messages: Frontend. (line 27)
* -mv renames files in ISO image: Manip. (line 37)
* -mv renames single file in ISO image: Manip. (line 31)
@ -5756,12 +5791,12 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -print prints result text line: Scripting. (line 102)
* -print_info prints message text line: Scripting. (line 104)
* -print_mark prints synchronizing text line: Scripting. (line 106)
* -print_size predicts image size: Inquiry. (line 86)
* -print_size predicts image size: Inquiry. (line 120)
* -prog sets program name: Frontend. (line 176)
* -prog_help prints help text: Frontend. (line 178)
* -prompt prompts for enter key: Scripting. (line 110)
* -publisher sets publisher id: SetWrite. (line 192)
* -pvd_info shows image id strings: Inquiry. (line 108)
* -pvd_info shows image id strings: Inquiry. (line 142)
* -pwd tells working directory in ISO: Navigate. (line 19)
* -pwdx tells working directory on disk: Navigate. (line 21)
* -quoted_not_list sets exclusions: SetInsert. (line 74)
@ -5772,8 +5807,8 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -read_speed set read speed: Loading. (line 11)
* -reassure enables confirmation question: DialogCtl. (line 29)
* -report_about controls verbosity: Exception. (line 53)
* -report_el_torito shows Boot Catalog: Inquiry. (line 116)
* -report_system_area shows MBR, GPT, and alike: Inquiry. (line 138)
* -report_el_torito shows Boot Catalog: Inquiry. (line 150)
* -report_system_area shows MBR, GPT, and alike: Inquiry. (line 172)
* -return_with controls exit value: Exception. (line 38)
* -rm deletes files from ISO image: Manip. (line 20)
* -rmdir deletes ISO directory: Manip. (line 29)
@ -5788,7 +5823,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -scsi_dev_family choose Linux device file type: AqDrive. (line 95)
* -scsi_log reports SCSI commands: Scripting. (line 143)
* -session_log logs written sessions: Scripting. (line 134)
* -session_string composes session info line: Inquiry. (line 74)
* -session_string composes session info line: Inquiry. (line 108)
* -setfacl sets ACL in ISO image: Manip. (line 68)
* -setfacl_list sets ACL in ISO image: Manip. (line 94)
* -setfacl_r sets ACL in ISO image: Manip. (line 92)
@ -5811,7 +5846,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -stdio_sync controls stdio buffer: SetWrite. (line 469)
* -stream_recording controls defect management: SetWrite. (line 389)
* -system_id sets system id: SetWrite. (line 205)
* -tell_media_space reports free space: Inquiry. (line 98)
* -tell_media_space reports free space: Inquiry. (line 132)
* -temp_mem_limit curbs memory consumption: Scripting. (line 96)
* -toc shows list of sessions: Inquiry. (line 27)
* -toc_of shows list of sessions: Inquiry. (line 41)
@ -5925,6 +5960,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* File names, curb length, -file_name_limit: Loading. (line 276)
* File names, if Joliet is loaded: Loading. (line 242)
* File names, if neither Rock Ridge nor Joliet: Loading. (line 229)
* Filesytem features, show, -assess_indev_features: Inquiry. (line 49)
* Filter, apply to file tree, -set_filter_r: Filter. (line 84)
* Filter, apply to file, -set_filter: Filter. (line 58)
* Filter, ban registration, -close_filter_list: Filter. (line 50)
@ -5966,9 +6002,9 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Image, set volume id, -volid: SetWrite. (line 168)
* Image, set volume set id, -volset_id: SetWrite. (line 188)
* Image, set volume timestamp, -volume_date: SetWrite. (line 211)
* Image, show Boot Catalog: Inquiry. (line 116)
* Image, show id strings, -pvd_info: Inquiry. (line 108)
* Image, show MBR, GPT, and alike, -pvd_info: Inquiry. (line 138)
* Image, show Boot Catalog: Inquiry. (line 150)
* Image, show id strings, -pvd_info: Inquiry. (line 142)
* Image, show MBR, GPT, and alike, -pvd_info: Inquiry. (line 172)
* Image, _definition: Model. (line 9)
* Input Character Set, _definition: Charset. (line 25)
* Insert, enable overwriting, -overwrite: SetInsert. (line 139)
@ -6103,11 +6139,11 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
(line 61)
* Rock Ridge, _definition: Extras. (line 6)
* Session, altered start address, -displacement: Loading. (line 78)
* Session, info string, -session_string: Inquiry. (line 74)
* Session, info string, -session_string: Inquiry. (line 108)
* Session, issue mount command, -mount: Restore. (line 204)
* Session, log when written, -session_log: Scripting. (line 134)
* Session, mount command line, -mount_cmd: Inquiry. (line 49)
* Session, mount parameters, -mount_opts: Inquiry. (line 65)
* Session, mount command line, -mount_cmd: Inquiry. (line 83)
* Session, mount parameters, -mount_opts: Inquiry. (line 99)
* Session, select as input, -load: Loading. (line 54)
* Session, _definition: Model. (line 6)
* Sorting order, for -x, -list_arg_sorting: ArgSort. (line 26)
@ -6141,12 +6177,12 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Write, enable HFS+, -hfsplus: SetWrite. (line 14)
* Write, enable Joliet, -joliet: SetWrite. (line 10)
* Write, fifo size, -fs: SetWrite. (line 479)
* Write, free space, -tell_media_space: Inquiry. (line 98)
* Write, free space, -tell_media_space: Inquiry. (line 132)
* Write, log problematic disk files, -errfile_log: Scripting. (line 116)
* Write, log written sessions, -session_log: Scripting. (line 134)
* Write, padding image, -padding: SetWrite. (line 507)
* Write, pending ISO image, -commit: Writing. (line 27)
* Write, predict image size, -print_size: Inquiry. (line 86)
* Write, predict image size, -print_size: Inquiry. (line 120)
* Write, set speed, -speed: SetWrite. (line 371)
* Write, simulation, -dummy: SetWrite. (line 476)
* Write, TAO or SAO/DAO, -write_type: SetWrite. (line 500)
@ -6187,35 +6223,35 @@ Node: Charset189084
Node: Exception192413
Node: DialogCtl198542
Node: Inquiry201144
Node: Navigate210026
Node: Verify218733
Node: Restore229882
Node: Emulation242090
Node: Scripting252546
Node: Frontend260329
Node: Examples269955
Node: ExDevices271133
Node: ExCreate271794
Node: ExDialog273094
Node: ExGrowing274365
Node: ExModifying275174
Node: ExBootable275684
Node: ExCharset276239
Node: ExPseudo277135
Node: ExCdrecord278062
Node: ExMkisofs278382
Node: ExGrowisofs280279
Node: ExException281432
Node: ExTime281890
Node: ExIncBackup282348
Node: ExRestore286374
Node: ExRecovery287320
Node: Files287892
Node: Environ289226
Node: Seealso289974
Node: Bugreport290691
Node: Legal291282
Node: CommandIdx292294
Node: ConceptIdx310119
Node: Navigate211859
Node: Verify220566
Node: Restore231715
Node: Emulation243923
Node: Scripting254379
Node: Frontend262162
Node: Examples271788
Node: ExDevices272966
Node: ExCreate273627
Node: ExDialog274927
Node: ExGrowing276198
Node: ExModifying277007
Node: ExBootable277517
Node: ExCharset278072
Node: ExPseudo278968
Node: ExCdrecord279895
Node: ExMkisofs280215
Node: ExGrowisofs282112
Node: ExException283265
Node: ExTime283723
Node: ExIncBackup284181
Node: ExRestore288207
Node: ExRecovery289153
Node: Files289725
Node: Environ291059
Node: Seealso291807
Node: Bugreport292524
Node: Legal293115
Node: CommandIdx294127
Node: ConceptIdx312025

End Tag Table