GENISOIMAGERC(5)

โœจ GENISOIMAGARC โ€” the startup config file for genisoimage ๐Ÿ’–

okay bestie so this is the manual for the genisoimagerc config file, and it's in section 5 of the manual pages (File Formats Manual, if you're keeping score ๐ŸŽ€). Basically: it's the lil file that lets you pre-load all your genisoimage settings so you don't have to type them every single time. main character energy for your build scripts, honestly.


๐ŸŒธ DESCRIPTION ๐ŸŒธ

so here's the vibe: genisoimage(1) goes on a little scavenger hunt for a config file, and it stops at the first one it can actually open โ€” like, it's not collecting them all, it just wants one, and it wants the first one it can get. ๐Ÿ’…

the search order is:

  1. if the GENISOIMAGERC environment variable is set, its value is used as the filename ๐Ÿ‘‘
  2. likewise for the MKISOFSRC environment variable โœจ
  3. then it looks for files named .genisoimagerc or .mkisofsrc, first in the current working directory, then in the user's home directory ๐Ÿ 
  4. next up: /etc/genisoimagerc ๐Ÿ—‚๏ธ
  5. and finally, it looks for a .genisoimagerc in the same directory as genisoimage itself is stored โ€” like, it's checking its own pockets fr fr ๐Ÿ™ˆ

the .genisoimagerc file is made of lines that look like this:

TAG=value

where TAG is one of the settings listed below. the case of the tag does not matter โ€” copy=, COPY=, CoPy=, all slay, all valid. ๐Ÿฆ‹

every single setting has a command-line equivalent, and if you pass the command-line parameter, it takes priority over the configuration file. the command line is the main character here, no cap. ๐Ÿ‘‘

blank lines and lines starting with # are ignored. so go ahead, comment your config like a responsible icon. ๐Ÿ’œ


๐ŸŽ€ CONFIGURATION SETTINGS ๐ŸŽ€

  • ABST โ€” the abstract information, which is typically the name of a file on the disc that contains an abstract. there's space for 37 characters. equivalent to the -abstract command-line option. ๐Ÿ’–
  • APPI โ€” the application identifier, and it should describe the application that will be on the disc. there's space for 128 characters. equivalent to the -A command-line option. โœจ
  • BIBL โ€” the bibliographic information, often the name of a file on the disc containing a bibliography. there's space for 37 characters. equivalent to the -biblio command-line option. ๐Ÿ“š
  • COPY โ€” the copyright information, typically the name of a file on the disc containing the copyright notice. there's space for 37 characters. equivalent to the -copyright command-line option. โš–๏ธ
  • HFS_TYPE โ€” the default TYPE for Macintosh files. must be exactly 4 characters. equivalent to the -hfs-type command-line option. the default value is TEXT. ๐ŸŽ
  • HFS_CREATOR โ€” the default CREATOR for Macintosh files. must be exactly 4 characters. equivalent to the -hfs-creator command-line option. the default value is Unix. ๐ŸŒˆ
  • PREP โ€” this should describe the preparer of the CD-ROM, usually with a mailing address and phone number. there's space for 128 characters. equivalent to the -p command-line option. ๐Ÿ“ฎ
  • PUBL โ€” this should describe the publisher of the CD-ROM, usually with a mailing address and phone number. there's space for 128 characters. equivalent to the -publisher command-line option. ๐Ÿข
  • SYSI โ€” the System Identifier. there's space for 32 characters. equivalent to the -sysid command-line option. ๐Ÿ–ฅ๏ธ
  • VOLI โ€” the Volume Identifier. there's space for 32 characters. equivalent to the -V command-line option. ๐Ÿ’ฝ
  • VOLS โ€” the Volume Set Name. there's space for 128 characters. equivalent to the -volset command-line option. ๐Ÿ—ƒ๏ธ

also, genisoimage can be configured at compile time with defaults for many of these fields โ€” check out the file defaults.h if you wanna go spelunking. ๐Ÿ”


โญ EXAMPLES โญ

okay so this file right here:

COPY=src/COPYING
SYSI=Multics 75

is literally equivalent to these genisoimage command-line parameters:

-copyright src/COPYING -sysid "Multics 75"

same thing, different font. it's giving "I set it once and never thought about it again." ๐Ÿ’…โœจ


๐Ÿ”ฅ SEE ALSO ๐Ÿ”ฅ

genisoimage(1).


๐Ÿ’œ AUTHORS ๐Ÿ’œ

see the genisoimage(1) manual page for credits for the genisoimage program and documentation. they did that. ๐Ÿ‘‘


and that's the whole page bestie โ€” this version is dated 13 Dec 2006 and it's page GENISOIMAGARC(5) of the manual, so now you know exactly where it lives. go forth and configure, you absolute legend ๐Ÿซถ๐Ÿ’–๐ŸŒธ

๐Ÿ“ฆ where this page comes from