Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] openrc : autoload kernel modules
Date: Thu, 14 Dec 2017 18:49:52
Message-Id: 3231345.50FOSdqMKk@dell_xps
In Reply to: Re: [gentoo-user] openrc : autoload kernel modules by Michael Orlitzky
1 On Thursday, 14 December 2017 18:43:55 GMT Michael Orlitzky wrote:
2 > On 12/14/2017 12:43 PM, Helmut Jarausch wrote:
3 > > I have added the following lines to /etc/conf.d/modules
4 > >
5 > > modules="enhanceio"
6 > > modules="enhanceio_lru"
7 > > modules="enhanceio_fifo"
8 > > modules="enhanceio_rand"
9 >
10 > "modules" is a variable name, and it's being overwritten on each line.
11 > The /etc/init.d/modules script does something like
12 >
13 > for module in $modules; do
14 > load $module
15 > done
16 >
17 > but in your case, "modules" will contain only the last thing you set it
18 > to, namely modules="enhanceio_rand".
19
20 Change your entries to:
21
22 #Modules for enhanceio
23 enhanceio
24 enhanceio_lru
25 enhanceio_fifo
26 enhanceio_rand
27
28 --
29 Regards,
30 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature