From c4e098a514ebd234bad99bf6dfc526fb65fd3b31 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 7 Mar 2013 11:44:44 +0100 Subject: [PATCH] document /usr/lib/dracut/dracut.conf.d --- dracut.8.asc | 3 +++ dracut.conf.5.asc | 15 +++++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/dracut.8.asc b/dracut.8.asc index da7f3271..02388e60 100644 --- a/dracut.8.asc +++ b/dracut.8.asc @@ -424,6 +424,9 @@ _/etc/dracut.conf_:: _/etc/dracut.conf.d/*.conf_:: see dracut.conf5 +_/usr/lib/dracut/dracut.conf.d/*.conf_:: + see dracut.conf5 + Configuration in the initramfs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _/etc/conf.d/_:: diff --git a/dracut.conf.5.asc b/dracut.conf.5.asc index e5454514..1cc810f8 100644 --- a/dracut.conf.5.asc +++ b/dracut.conf.5.asc @@ -10,17 +10,24 @@ dracut.conf - configuration file(s) for dracut SYNOPSIS -------- -_/etc/dracut.conf_ _/etc/dracut.conf.d/*.conf_ +_/etc/dracut.conf_ _/etc/dracut.conf.d/*.conf_ _/usr/lib/dracut/dracut.conf.d/*.conf_ Description ----------- _dracut.conf_ is loaded during the initialisation phase of dracut. Command line -parameter will overwrite any values set here. _dracut.conf.d/*.conf_ files are -read in alphanumerical order and will overwrite parameters set in +parameter will overwrite any values set here. + +_*.conf_ files are read from /usr/lib/dracut/dracut.conf.d and /etc/dracut.conf.d. +Files with the same name in /etc/dracut.conf.d will replace files in /usr/lib/dracut/dracut.conf.d. +The files are then read in alphanumerical order and will overwrite parameters set in _/etc/dracut.conf_. Each line specifies an attribute and a value. A '#' indicates the beginning of a comment; following characters, up to the end of the line are not interpreted. +dracut command line options will overwrite any values set here. + +Configuration files must have the extension .conf; other extensions are ignored. + *dracutmodules+=*" ____ ":: Specify a space-separated list of dracut modules to call when building the initramfs. Modules are located in _/usr/lib/dracut/modules.d_. @@ -127,7 +134,7 @@ If chrooted to another root other than the real root device, use --fstab and pro Path to log file. *show_modules=*"__{yes|no}__":: - Print included module's name to standard output during build. + Print the name of the included modules to standard output during build. Files -----