MOLRC(5)

NAME
/etc/mol/ - Mac-on-Linux configuration files

DESCRIPTION
Mac-on-Linux uses several different configuration files, all located in the /etc/mol directory. This man page describes the syntax of these files. The most important syntax is assigning values to variables. This is done by the following statement: value

Certain special variables (like ram_size) are interpreted by MOL (but any variable name can be defined). The value of a particular variable is available through the ${variable} syntax. Only the first definition of a particular variable has any effect; subsequent definitions are silently ignored (blkdev and a few other variables are exceptions to this rule). This 'feature' can be used to override default settings. Certain pre-defined variables have a special meaning: The MOL session number Defined by the --config=value switch Set to newworld, oldworld, osx, linux or elf. Set to '-boot1' if the --cdboot switch is used

The following conditional construction is supported

      ifeq key str1 [[str2] ...] {
           parsed if key matches any of the strings
      } else {
           parsed otherwise
           (else caluse may be omitted)
      }
A real-world example might be

      ifeq ${session} 0 {
           blkdev:   /dev/hda7 -rw -boot    # MacOS 9.0.4
           blkdev:   /dev/hda5 -rw          # other disk
      }
      ifeq ${session} 4 {
           blkdev:   /dev/hda8 -rw -boot    # MacOS 9.2
      }
which tells MOL to export different volumes for session 0 and session 4. The first two volumes will be used if MOL is invoked through the command 'startmol -0' and the last one if 'startmol -4' is used. Refer to session.map(5) for more information about session numbers. Other recognized keywords are Same syntax as ifeq, but with the logic reversed. Parse expr if var is undefinied Parse expr if var is defined Include the specified file Diagnostic output Print error message and exit

Note: The conditional expressions are primarily useful for setting up multiple different configurations simultaneously.

FILES
/etc/mol/    - Mac-on-Linux configuration files

AUTHORS
This man page was written by Samuel Rydh <samuel@ibrium.se>.

SEE ALSO
startmol(1) molvconfig(1) session.map(5) molrc.macos(5)
molrc.osx(5) molrc.ow(5) molrc.linux(5) molrc.video(5)
molrc.net(5) molrc.input(5)