Browse Source

docs: override is not the same as overwrite!

Some docs claimed that values in certain config files would be
overwritten, when they would actually be overridden.

Override: a file is not modified but its contents are superseded by
          something else.  (configurations set in
          /etc/dracut.conf.d/*.conf override configurations set in
          /etc/dracut.conf)

Overwrite: a file is modified or its contents replaced by an action
           (use dracut --force to overwrite the existing initramfs)
master
Daniel Kahn Gillmor 8 years ago
parent
commit
85c8217db0
  1. 2
      dracut.cmdline.7.asc
  2. 8
      dracut.conf.5.asc

2
dracut.cmdline.7.asc

@ -612,7 +612,7 @@ NFS
method. This is supported by dracut, but not recommended. method. This is supported by dracut, but not recommended.


**rd.nfs.domain=**__<NFSv4 domain name>__:: **rd.nfs.domain=**__<NFSv4 domain name>__::
Set the NFSv4 domain name. Will overwrite the settings in _/etc/idmap.conf_. Set the NFSv4 domain name. Will override the settings in _/etc/idmap.conf_.


**rd.net.dhcp.retry=**__<cnt>__:: **rd.net.dhcp.retry=**__<cnt>__::
If this option is set, dracut will try to connect via dhcp <cnt> times before failing. If this option is set, dracut will try to connect via dhcp <cnt> times before failing.

8
dracut.conf.5.asc

@ -17,17 +17,17 @@ _/usr/lib/dracut/dracut.conf.d/*.conf_
Description Description
----------- -----------
_dracut.conf_ is loaded during the initialisation phase of dracut. Command line _dracut.conf_ is loaded during the initialisation phase of dracut. Command line
parameter will overwrite any values set here. parameter will override any values set here.


_*.conf_ files are read from /usr/lib/dracut/dracut.conf.d and _*.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 /etc/dracut.conf.d. Files with the same name in /etc/dracut.conf.d will replace
files in /usr/lib/dracut/dracut.conf.d. files in /usr/lib/dracut/dracut.conf.d.
The files are then read in alphanumerical order and will overwrite parameters The files are then read in alphanumerical order and will override parameters
set in _/etc/dracut.conf_. Each line specifies an attribute and a value. A '#' 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 indicates the beginning of a comment; following characters, up to the end of the
line are not interpreted. line are not interpreted.


dracut command line options will overwrite any values set here. dracut command line options will override any values set here.


Configuration files must have the extension .conf; other extensions are ignored. Configuration files must have the extension .conf; other extensions are ignored.


@ -218,7 +218,7 @@ _/etc/dracut.conf_::
_/etc/dracut.conf.d/_. _/etc/dracut.conf.d/_.


_/etc/dracut.conf.d/_:: _/etc/dracut.conf.d/_::
Any _/etc/dracut.conf.d/*.conf_ file can overwrite the values in Any _/etc/dracut.conf.d/*.conf_ file can override the values in
_/etc/dracut.conf_. The configuration files are read in alphanumerical _/etc/dracut.conf_. The configuration files are read in alphanumerical
order. order.



Loading…
Cancel
Save