Quick ?s
Cheat Sheets
Man Pages
The Lynx
Software
MKINITRD.CONF(5)					      MKINITRD.CONF(5)



NAME
       mkinitrd.conf - configuration file for mkinitrd


DESCRIPTION
       The  behaviour  of  mkinitrd(8)	may  be altered by changing this file.
       This file is meant to be parsed as a shell script thus the  syntactical
       rules of a shell script will apply.  See sh(1) for more details.


VARIABLES
       MODULES
	      The  legal  values are all, most, dep and none.  All modules are
	      included on the image if it is set to all.  Setting it  to  most
	      will  cause  mkinitrd(8) to exclude modules which are considered
	      unlikely to be necessary in the process of bringing  up  a  root
	      file  system.   Setting  it to dep will cause mkinitrd(8) to use
	      modprobe(8) to calculate exactly what modules are needed.   Set
	      ting  it	to none will cause mkinitrd(8) to not include any mod
	      ules, even if modules were specified in /etc/mkinitrd/modules.


       DELAY  The number of seconds the linuxrc script should  wait  to  allow
	      the user to interrupt it before the system is brought up.


       ROOT   If  this	is set to probe, mkinitrd(8) will try to determine the
	      modules  needed  to  bring  up  the  root  file	system	 using
	      /etc/fstab.  It will also insert code onto the image in order to
	      setup a software RAID device if necessary.  This can be disabled
	      by  setting it to a null string.	If you get the error Unknown
	      root device then this setting must be disabled  and  you	will
	      need to set up the initrd image manually.

	      If  you  wish to use an alternative root device, you can specify
	      it here and mkinitrd(8) will use that  to  figure  out  what  is
	      needed.	You  can  also	set  the file system type of your root
	      device by appending it to the value of  ROOT  with  a  space  in
	      between.	 You  will need to quote the entire value as otherwise
	      the shell will interpret the file system type as a command.

	      This variable replaces the obsolete PROBE variable.  The	values
	      probe  and  the  null string correspond to the values on and off
	      for PROBE.


       UMASK  The umask is used  during  the  construction  of	the  directory
	      structure and the final image.


       MKIMAGE
	      This  should  be a command that produces an initrd image given a
	      directory.  It must contain two occurrences of  %s.   The  first
	      one will be replaced by the path to the directory for the candi
	      date image.  The other one will be replaced by the name  of  the
	      output  file.  This can be used to produce images of types other
	      than CRAMFS.  For example, to generate ROMFS images, set MKIMAGE
	      to genromfs -d %s -f %s.


       BUSYBOX
	      If  this	is  set to yes then busybox(1) will be included on the
	      initrd image.


       PKGSCRIPTS
	      If this is set to yes then the scripts under  /usr/share/initrd-
	      tools/scripts will be run when the initrd image is made.


       INITRD_LD_LIBRARY_PATH
	      This  value  will  be  assigned to LD_LIBRARY_PATH when mkinitrd
	      determines the library dependencies of  binaries	that  will  be
	      copied onto the image.


       RESUME If  this	is set, default to this partition to use for resuming.
	      The resume= passed on the command line will override  this  set
	      ting.   The  kernel needs to have the power management (PM) con
	      figs enabled.


SEE ALSO
       mkinitrd(8)


AUTHOR
       Herbert Xu 



Initrd Tools		 $Date: 2004/04/01 09:34:39 $	      MKINITRD.CONF(5)




Yals.net is © 1999-2009 Crescendo Communications
Sharing tech info on the web for more than a decade!
This page was generated Thu Apr 30 17:05:30 2009