conf (service)

Service “conf” takes care of saving and loading the current configuration to a permanent storage media so that it is available on subsequent reboots.

The location of the file can be set in /etc/sysconfig/config. It has the following format:

CONFIG=/dev/name_of_the_device_or_partition
CONFIGFS=fileystem_type

Modes

service conf has two modes:

service conf start

Beware, this mode ignores /etc/sysconfig/config !! Instead, it will try to search all available media for the configuration file, and load the first one. If configuration options were specified on the kernel command line, they will take precedence (such as network interface configuration or root password). Scan order is the following:

FIXME

  1. SCSI devices including USB storage media
  2. NFTL devices (such as DoC)
  3. IDE devices including CD-ROMs

service conf save

This will save the current contents of ramdisk to the config file located where /etc/sysconfig/config specifies. If the disk/partition cannot be mounted, an error message appears.

Saved configuration file

All the configuration is saved in shurdix-conf.tar.gz which is located in the root of the config medium. This file contains the contents of the ramdisk at the moment of saving. You can unpack it, edit and pack it again, but don’t put there too much because the unpacked data has to fit into the ramdisk.

 
  shurdix/conf.txt · Last modified: 2005/09/28 11:35
 
Recent changes RSS feed Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki