New option -read_mkisofsrc interprets .mkisofsrc

This commit is contained in:
2010-06-25 17:59:01 +00:00
parent cae1fab0de
commit 528631a647
12 changed files with 298 additions and 76 deletions

View File

@ -345,7 +345,8 @@ needs of GRUB resp. ISOLINUX. An *MBR* contains boot code and a
partition table. It does not hamper CDROM booting. The new MBR of a
follow-up session can get in effect only on overwriteable media.
Emulation -as mkisofs supports the example options out of the ISOLINUX
wiki. It also supports the options used in GRUB script grub-mkrescue.
wiki, the options used in GRUB script grub-mkrescue, and the example in
the FreeBSD AvgLiveCD wiki.
The support for other boot image types is sparse.
*ACL* are an advanced way of controlling access permissions to file
@ -2847,14 +2848,14 @@ programs trigger comparable actions.
Personality "*mkisofs*" accepts the options listed with:
-as mkisofs -help --
Among them: -R (always on), -r, -J, -o, -M, -C, -path-list, -m,
-exclude-list, -f, -print-size, -pad, -no-pad, -V, -v, -version,
-graft-points, -z, -no-emul-boot, -b, -c, -boot-info-table,
-boot-load-size, -input-charset, -G, -output-charset, -U, -hide,
-hide-joliet, -hide-list, -hide-joliet-list, file paths and
pathspecs. A lot of options are not supported and lead to failure
of the mkisofs emulation. Some are ignored, but better do not rely
on this tolerance.
Among them: -R (always on), -r, -J, -o, -M, -C, -dir-mode,
-file-mode, -path-list, -m, -exclude-list, -f, -print-size, -pad,
-no-pad, -V, -v, -version, -graft-points, -z, -no-emul-boot, -b,
-c, -boot-info-table, -boot-load-size, -input-charset, -G,
-output-charset, -U, -hide, -hide-joliet, -hide-list,
-hide-joliet-list, file paths and pathspecs. A lot of options are
not supported and lead to failure of the mkisofs emulation. Some
are ignored, but better do not rely on this tolerance.
-graft-points is equivalent to -pathspecs on. Note that pathspecs
without "=" are interpreted differently than with xorriso option
-add. Directories get merged with the root directory of the ISO
@ -2935,6 +2936,18 @@ programs trigger comparable actions.
an eventual commit happens. From then on, options are interpreted
as xorriso options.
-read_mkisofsrc
Try one by one to open for reading: ./.mkisofsrc , $MKISOFSRC ,
$HOME/.mkisofsrc , $(basename $0)/.mkisofs
On success interpret the file content as of man mkisofs
CONFIGURATION, and end this command. Do not try further files.
The last address is used only if start argument 0 has a
non-trivial basename.
The reader currently interprets the following NAME=VALUE pairs:
APPI (-application_id) , PUBL (-publisher) , SYSI (-system_id) ,
VOLI (-volid) , VOLS (-volset_id)
Any other lines will be silently ignored.
-pacifier behavior_code
Control behavior of UPDATE pacifiers during write operations. The
following behavior codes are defined:
@ -3795,7 +3808,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -out_charset sets output character set: SetWrite. (line 122)
* -outdev aquires a drive for output: AqDrive. (line 29)
* -overwrite enables overwriting in ISO: SetInsert. (line 127)
* -pacifier controls pacifier text form: Emulation. (line 107)
* -pacifier controls pacifier text form: Emulation. (line 119)
* -padding sets amount of image padding: SetWrite. (line 205)
* -page set terminal geometry: DialogCtl. (line 15)
* -paste_in copies file into disk file: Restore. (line 117)
@ -3813,6 +3826,8 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -pwdx tells working directory on disk: Navigate. (line 23)
* -quoted_not_list sets exclusions: SetInsert. (line 72)
* -quoted_path_list inserts paths from disk file: Insert. (line 80)
* -read_mkisofsrc searches and reads .mkisofsrc file: Emulation.
(line 107)
* -reassure enables confirmation question: DialogCtl. (line 28)
* -report_about controls verbosity: Exception. (line 55)
* -return_with controls exit value: Exception. (line 39)
@ -3822,7 +3837,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
* -rollback discards pending changes: Writing. (line 9)
* -rollback_end ends program without writing: Scripting. (line 125)
* -rom_toc_scan searches for sessions: Loading. (line 184)
* -scdbackup_tag enables scdbackup checksum tag: Emulation. (line 117)
* -scdbackup_tag enables scdbackup checksum tag: Emulation. (line 129)
* -scsi_log reports SCSI commands: Scripting. (line 113)
* -session_log logs written sessions: Scripting. (line 104)
* -session_string composes session info line: Inquiry. (line 56)
@ -3867,7 +3882,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
[index]
* Menu:
* ACL, _definiton: Extras. (line 36)
* ACL, _definiton: Extras. (line 37)
* ACL, control handling, -acl: Loading. (line 123)
* ACL, set in ISO image, -setfacl: Manip. (line 73)
* ACL, set in ISO image, -setfacl_list: Manip. (line 100)
@ -3878,7 +3893,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Backslash Interpretation, _definition: Processing. (line 49)
* Backup, enable fast incremental, -disk_dev_ino: Loading. (line 163)
* Backup, enable features, -for_backup: Loading. (line 158)
* Backup, scdbackup checksum tag, -scdbackup: Emulation. (line 117)
* Backup, scdbackup checksum tag, -scdbackup: Emulation. (line 129)
* Blank media, _definition: Media. (line 25)
* Blind growing, _definition: Methods. (line 40)
* Bootability, control, -boot_image: Bootable. (line 20)
@ -3917,9 +3932,10 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Drive, write and eject, -commit_eject: Writing. (line 40)
* El Torito, _definiton: Extras. (line 19)
* Emulation, -as: Emulation. (line 13)
* Emulation, .mkisofsrc, -read_mkisofsrc: Emulation. (line 107)
* Emulation, cdrecord, -as: Emulation. (line 74)
* Emulation, mkisofs, -as: Emulation. (line 16)
* Emulation, pacifier form, -pacifier: Emulation. (line 107)
* Emulation, pacifier form, -pacifier: Emulation. (line 119)
* Examples: Examples. (line 6)
* Filter, _definition: Filter. (line 6)
* Filter, apply to file tree, -set_filter_r: Filter. (line 84)
@ -4082,7 +4098,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Write, predict image size, -print_size: Inquiry. (line 69)
* Write, set speed, -speed: SetWrite. (line 148)
* Write, simulation, -dummy: SetWrite. (line 188)
* xattr, _definiton: Extras. (line 50)
* xattr, _definiton: Extras. (line 51)
* xattr, control handling, -xattr: Loading. (line 131)
* xattr, set in ISO image, -setfattr: Manip. (line 110)
* xattr, set in ISO image, -setfattr_list: Manip. (line 126)
@ -4100,50 +4116,50 @@ Node: Media6089
Node: Methods8519
Node: Drives11066
Node: Extras14372
Node: Processing17770
Node: Dialog21266
Node: Options22923
Node: AqDrive24491
Node: Loading27397
Node: Insert39576
Node: SetInsert47933
Node: Manip56500
Node: CmdFind65181
Node: Filter75132
Node: Writing79481
Node: SetWrite85770
Node: Bootable96054
Node: Charset104006
Node: Exception106760
Node: DialogCtl111275
Node: Inquiry113620
Node: Navigate117760
Node: Verify125481
Node: Restore133901
Node: Emulation140557
Node: Scripting147539
Node: Frontend153101
Node: Examples154302
Node: ExDevices155471
Node: ExCreate156105
Node: ExDialog157379
Node: ExGrowing158641
Node: ExModifying159443
Node: ExBootable159944
Node: ExCharset160491
Node: ExPseudo161319
Node: ExCdrecord162213
Node: ExMkisofs162528
Node: ExGrowisofs163531
Node: ExException164655
Node: ExTime165109
Node: ExIncBackup165568
Node: ExRestore169040
Node: ExRecovery170009
Node: Files170575
Node: Seealso171613
Node: Legal172137
Node: CommandIdx173059
Node: ConceptIdx186433
Node: Processing17799
Node: Dialog21295
Node: Options22952
Node: AqDrive24520
Node: Loading27426
Node: Insert39605
Node: SetInsert47962
Node: Manip56529
Node: CmdFind65210
Node: Filter75161
Node: Writing79510
Node: SetWrite85799
Node: Bootable96083
Node: Charset104035
Node: Exception106789
Node: DialogCtl111304
Node: Inquiry113649
Node: Navigate117789
Node: Verify125510
Node: Restore133930
Node: Emulation140586
Node: Scripting148168
Node: Frontend153730
Node: Examples154931
Node: ExDevices156100
Node: ExCreate156734
Node: ExDialog158008
Node: ExGrowing159270
Node: ExModifying160072
Node: ExBootable160573
Node: ExCharset161120
Node: ExPseudo161948
Node: ExCdrecord162842
Node: ExMkisofs163157
Node: ExGrowisofs164160
Node: ExException165284
Node: ExTime165738
Node: ExIncBackup166197
Node: ExRestore169669
Node: ExRecovery170638
Node: Files171204
Node: Seealso172242
Node: Legal172766
Node: CommandIdx173688
Node: ConceptIdx187202

End Tag Table