|
From: Heiko Z. <he...@zu...> - 2005-03-13 16:30:06
|
Roland Pabel wrote: >Hi, >I recently read an article in the linux-user magazine about automatic module >loading. To say it short: I didn't know it was so simple :-) >The author Mikro Doelle showed a 80 line bash script which loads modules for >hardware it finds listed in the proc filesystem and is recognized by pci-ids >database: >http://www.mirko-doelle.de/vdr/hwdetect >I think we could easily integrate an adapted version (after some perfomance >tuning perhaps) into the boot process, doesn't even need to be in the etc >image. > > It will only work for PCI devices, but most of our users should use PCI anyway. We already have the pci database included, it's here: /usr/share/pci.ids . Of course we would need to run the script twice, once in initrd to detect all the SCSI controllers and later for the network cards and whatever else is in the system. Did you get a chance to try the script? And we should also translate the commentss into english ;-) -- Regards Heiko Zuerker http://www.devil-linux.org |