I'm confused... My modules.conf looks like this: alias parport_lowlevel parport_pc alias eth0 3c59x alias sound-slot-0 i810_audio post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || : pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || : alias usb-controller usb-uhci How does this load modules ? I read the man page for 'modules.conf' and is seems that it is used to modify behaviour rather than actually load modules. So does '/etc/init.d/modules' load the modules, while 'modules.conf' just modifies the load behaviour ? I don't have a '/etc/init.d/modules' (I am running RH8.0). Does anyone know what the equivalent is for Redhat ? I was under the impression that I could load a module from one of the following scripts : RedHat /etc/rc.local Debian /etc/local SuSe /etc/rc.config Is this incorrect/bad idea ? Confused dom -----Original Message----- From: Muli Ben-Yehuda [mailto:mulix@mulix.org] Sent: Tuesday, January 28, 2003 10:27 AM To: S P Cc: kernelnewbies@nl.linux.org Subject: Re: module insertion On Tue, Jan 28, 2003 at 08:22:57AM -0800, S P wrote: > I need to insert a kernel module into the system when it boots up, > before any user logs in. How can this be done ? Depending on your distro, there's usually a start up script called something like '/etc/init.d/modules', which looks for a configuration file in /etc (probably called something with 'modules' as well), and loads modules based on its contents. On debian, /etc/init.d/modutils will read /etc/modules and load the modules written there. Consult your distros documentation and man pages for more details. (If you meant that you need to load modules before even mounting the root file system, you want an initrd. Consult the kernel, lilo and mkinitrd documentation). -- Muli Ben-Yehuda http://www.mulix.org http://syscalltrack.sf.net -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/