Image

Imagefoxmagic wrote in Imagelinux

Where do all the entries in /etc/modprobe.conf come from? That is, I have lots of lines in there like:

alias char-major-107 3dfx
alias char-major-108 ppp_generic
alias char-major-109 lvm_mod
alias char-major-161 ircomm-tty
alias char-major-191 raw1394
alias char-major-195 NVdriver

and so forth, but I've upgraded my kernel since I installed this system. How can I be sure that all these major driver numbers are still accurate for the kernel I'm running, or remove some of the entries for devices I've removed from the kernel?

Is there any program to generate a new modprobe.conf file based on what's actually available in the kernel that's running right now?