[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: various for kernels



>>>>> "Greg" == Greg Wiley <greg@orthogony.com> writes:

Greg> Is the kernel configuration file used for the build
Greg> also stored somewhere on my machine?

It's in /boot/Config-<kernel-version>

Greg> 2) Are the modules listed in /etc/modules distinguished somehow
Greg> between different kernel images?

/etc/modules is not kernel-specific. You could change
/etc/init.d/modutils to load a version-specific file. E.g., add
something like this:

version=`uname -r`
if [ -f /etc/modules.$version ]; then
    inputfile=/etc/modules.$version
else
    inputfile=/etc/modules
fi
# replace /etc/modules by $inputfile in the rest of the file.

-- 
G. ``Iggy'' Geens - ICQ: #64109250
Home: <ggeens@iname.com> - Work: <guy.geens@cgey.be>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'



Reply to: