Bug#603903: initramfs-tools: Documentation for modules=list in initramfs.conf is unclear
Package: initramfs-tools
Version: 0.98.5
Severity: normal
Tags: patch
The documentation is vague about how the list of modules is derived.
Hopefully this makes things clearer without requiring the user to delve
into the source code....
Cheers,
Tim.
--- /tmp/initramfs.conf.orig 2010-11-18 10:12:43.176859335 +0000
+++ /tmp/initramfs.conf 2010-11-18 10:26:11.172917839 +0000
@@ -8,13 +8,16 @@
#
# MODULES: [ most | netboot | dep | list ]
#
+# Modules listed in /etc/initramfs-tools/modules and
+# /usr/share/initramfs-tools/modules.d/* are always loaded.
+#
# most - Add most filesystem and all harddrive drivers.
#
# dep - Try and guess which modules to load.
#
# netboot - Add the base modules, network modules, but skip block devices.
#
-# list - Only include modules from the 'additional modules' list
+# list - Only modules explicity listed in /etc/initramfs-tools/modules etc.
#
MODULES=most
--- /tmp/initramfs.conf.5.orig 2010-11-18 10:08:00.093469868 +0000
+++ /tmp/initramfs.conf.5 2010-11-18 10:27:48.585080195 +0000
@@ -22,6 +22,10 @@
.TP
\fB MODULES
Specifies the modules for the initramfs image.
+
+Modules listed in \fI/etc/initramfs-tools/modules\fP and
+\fI/usr/share/initramfs-tools/modules.d/*\fP are always loaded.
+
The default setting is \fImost\fP.
\fImost\fP adds most file system, all ide, sata, scsi and usb drivers.
@@ -30,8 +34,8 @@
\fInetboot\fP adds the base modules, network modules, but skips block devices.
-\fIlist\fP includes only modules from the additional modules list to load them
-early.
+\fIlist\fP don't load any additional modules beyond those contained in
+\fI/etc/initramfs-tools/modules\fP etc.
.TP
\fB BUSYBOX
Reply to: