Bug#603903: initramfs-tools: Documentation for modules=list in initramfs.conf is unclear
On Thu, Nov 18, 2010 at 10:29:35AM +0000, Tim Small wrote:
> 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.
thanks a lot very appreciated.
> --- /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.
> #
not sure if that is overly verbose for a config file,
will wait on verdict of comaintainer.
> 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.
> +
ok cool
> 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
you scratch the important _early_ and repost a possible location.
not sure, this should be reworded without the location and by keeping
the early.
can you do a second pass?
just the manpage is a good start, can allways merge the other
seperately.
thank you
--
maks
Reply to: