From 9393a8774c1acd60deea40007061b9ffc783bf7e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 31 May 2012 16:00:34 +0200 Subject: man: add documentation for the binfmt, modules-load, sysctl services --- man/modules-load.d.xml | 52 +++++++++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 22 deletions(-) (limited to 'man/modules-load.d.xml') diff --git a/man/modules-load.d.xml b/man/modules-load.d.xml index 01013e0222..cdd43d1650 100644 --- a/man/modules-load.d.xml +++ b/man/modules-load.d.xml @@ -54,16 +54,17 @@ Description - systemd uses - files from the above directories to configure + systemd-modules-load.service8 + reads files from the above directories which contain kernel modules to load during boot in a static list. Each configuration file is named in the style of /etc/modules-load.d/<program>.conf. Note - that it is usually a better idea to use the automatic - module loading by PCI ID, by DMI ID or similar - triggers configured in the kernel modules themselves - instead of relying on static configuration like - this. + that it is usually a better idea to rely on the + automatic module loading by PCI IDs, USB IDs, DMI IDs + or similar triggers encoded in the kernel modules + themselves instead of static configuration like + this. In fact, most modern kernel modules are prepared + for automatic loading already. @@ -74,21 +75,26 @@ newlines. Empty lines and lines whose first non-whitespace character is # or ; are ignored. - Each configuration file is named in the style of - <program>.conf. - Files in /etc/ override - files with the same name in /usr/lib/. - Files in /run override files with - the same name in /etc/ and - /usr/lib/. Packages should install their - configuration files in /usr/lib/, files - in /etc/ are reserved for the local - administration, which possibly decides to override the - configurations installed from packages. All files are sorted - by filename in alphabetical order, regardless in which of the - directories they reside, to ensure that a specific - configuration file takes precedence over another file with - an alphabetically later name. + Each configuration file shall be named in the + style of <program>.conf. + Files in /etc/ override files + with the same name in /usr/lib/ + and /run/. Files in + /run/ override files with the + same name in /usr/lib/. Packages + should install their configuration files in + /usr/lib/, files in + /etc/ are reserved for the local + administrator, who may use this logic to override the + configuration files installed from vendor + packages. + + If the administrator wants to disable a + configuration file supplied by the vendor the + recommended way is to place a symlink to + /dev/null in + /etc/modules-load.d/ bearing the + same file name. @@ -105,6 +111,8 @@ virtio-net See Also systemd1, + systemd-modules-load.service8, + systemd-delta1, modprobe8 -- cgit v1.2.1