FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 11-18-2010, 09:29 AM
Tim Small
 
Default 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/modulesfP and
+fI/usr/share/initramfs-tools/modules.d/*fP are always loaded.
+
The default setting is fImostfP.

fImostfP adds most file system, all ide, sata, scsi and usb drivers.
@@ -30,8 +34,8 @@

fInetbootfP adds the base modules, network modules, but skips block devices.

-fIlistfP includes only modules from the additional modules list to load them
-early.
+fIlistfP don't load any additional modules beyond those contained in
+fI/etc/initramfs-tools/modulesfP etc.

.TP
fB BUSYBOX



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20101118102935.13178.52075.reportbug@ermintrude.se oss.co.uk">http://lists.debian.org/20101118102935.13178.52075.reportbug@ermintrude.se oss.co.uk
 
Old 11-18-2010, 11:46 AM
maximilian attems
 
Default 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/modulesfP and
> +fI/usr/share/initramfs-tools/modules.d/*fP are always loaded.
> +
ok cool
> The default setting is fImostfP.
>
> fImostfP adds most file system, all ide, sata, scsi and usb drivers.
> @@ -30,8 +34,8 @@
>
> fInetbootfP adds the base modules, network modules, but skips block devices.
>
> -fIlistfP includes only modules from the additional modules list to load them
> -early.
> +fIlistfP don't load any additional modules beyond those contained in
> +fI/etc/initramfs-tools/modulesfP 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






--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20101118124604.GF27903@vostochny.stro.at">http://lists.debian.org/20101118124604.GF27903@vostochny.stro.at
 

Thread Tools




All times are GMT. The time now is 10:09 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org