You are not logged in.

#1 2007-01-26 10:12:13

dienadel
Member
Registered: 2005-12-23
Posts: 179

Udev searching hardware

Hello!

I'm at work, and have finisheded a dificult work. Taking a coffee now, an idea has came to my head.

When my system starts, udev looks for hardware, and automatically loads all the necessary modules. It takes about 3 seconds.

Ok, now, my question. Is there a way to do this?:

Once the PC is up, and all the modules loaded with the correct options, use a "command" or something (not manually) to say the system that, at bootup, restore that harware configuration, without looking for it.

In this condition, the startup time, would be 2 seconds faster moreless ;-)

As you can see, is only an idea that have came to me with the coffe. And that 2 seconds, are not esentials.

Is posible?

Thanks!

Dienadel

Offline

#2 2007-01-26 10:19:31

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Udev searching hardware

You can already do that, if you want. After all modules are loaded, lsmod them, and add the ones that have been explicitly loaded (not the ones loaded as dependencies) to the MODULES array in /etc/rc.conf. Set MOD_AUTOLOAD to "no", and reboot.

Offline

#3 2007-01-26 10:39:27

dienadel
Member
Registered: 2005-12-23
Posts: 179

Re: Udev searching hardware

OK, I supossed that this could be done via modules.conf.

I'll try it someday

thanks

Offline

Board footer

Powered by FluxBB