mkCDrec Config.sh mkcdrec logo
Copyright (c) 2000-2001 - Gratien D'haese - IT3 Consultants
 

Config.sh

The Config.sh file contains modifiable parameters (and non modifiable too). In normal circumstances it should be the only file which may be edited by the end-user. Following table gives an overview of modifiable parameters and their meaning or impact. Version 0.4.5 and higher contain the following list.
 
Keyword Explanation
RAMDISK_SIZE Size of the base ramdisk (default is 12 Mb, minimum is 8 Mb).
DEBUG If DEBUG=echo than no damage can be done at the system disks. Default is empty string (or no debugging).
PATH The PATH will be used to search for executables to be included in the RAM disks
ISOFS_DIR The temporary directory where all the necessary files will put aside to burn on CDR. Default is /home/isofs
LINUX_KERNEL Location of the linux kernel (absolute path) which is usefull in case you want to experiment with an alternative kernel instead of the running kernel. By default the string is empty, which means mkCDrec will locate and use the running kernel.
MKCDREC_DIR is the same as $basedir (do not change it)
CDREC_ISO_DIR The location where 'CDrec.iso' ISO9660 images will be made (default is where you run make from). Default is "."
PROMPT_BOOT_FLOPPY To prompt to create also a boot 1.44 Mb floppy say "1" (no is "0"). Default is 0.
BOOT_FLOPPY_DENSITY High density (1.44 Mb) = HD. Extended density (2.88 Mb) = ED. For bigger kernels such as Linux 2.4 it may be necessary to define ED. By defining ED it will not be possible anymore to create a physical boot floppy (only El Torito 2.88 Mb emulation on CD-ROM). Default is HD.
TAPE_DEV Fill in a no-rewinding tape device if any (optional). Tape device can be one of the following formats:
  • /dev/nst0   (a local attachted SCSI tape drive)
  • remote_host:/dev/rmt/0mn  (a remote tape drive)
  • remote_hosts:FILE  (only useful if there is only 1 partition to backup)
  • REMOTE_COMMAND Either rsh or ssh. Currently only used in combination with remote tape handling. Default is rsh.
    EXCLUDE_LIST List of directories which should be excluded during backup. Of course, it also means they cannot be restored too. Default is /tmp.
    SCSI_MODULES List of kernel modules which must be included on the ram disk. Be aware that 'lsmod' is being used to build the list of modules, but this one is rather for those which cannot be seen at make time, e.g. laptop with SCSI card not in slot.
    OTHER_MODULES Any other module which may be useful. May be empty.
    MKDIR_LIST List of direcories which have to be made when ram disk is being filles with files. Normally it should be OK to leave as it is.
    ETC_FILES list of files which have to be copied to the ramdisks /etc directory
    BINARIES list all executables of /bin, /usr/bin or /sbin which have to copied to the ramdisk. Executables which are already included with BusyBox are skipped.
    LINKS list of symbolic links to be made on the ramdisk.
    BURNCDR After making an ISO9660 image burn immediately a CDR (default is no).
    CDRECORD cdrecord program to burn CDR
    SCSIDEVICE SCSI address of CD-writer - use "cdrecord -scanbus" to fill in the desired numbers. Default is "0,4,0"
    WRITERSPEED The CD-writer speed (default 2).
    MAXCDSIZE The capacity of the CDR (default 650000 Kb).
    CMP_PROG The compress program used can be gzip or bzip2 (default is gzip).
    CHECK_BAD_BLOCKS Should mkfs check for bad blocks before making the filesystems? The "-c" option checks for bad blocks (default), emptry string doesn't.



    Last changed on 12 March 2001
    by Gratien D'haese