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

Re: kernel upgrade questions

David Zelinsky wrote:
boot into the old 2.4 kernel and have everything work as before.  Is
there a way to have entries in these files be conditional on the
kernel version?

It looks like you can. /etc/modules.conf is automatically generated, so don't edit it directly. Instead, you manipulate the files in /etc/modutils. In my current /etc/modutils/aliases file I see:

# IDE modules changed names in 2.4.22
if KERNEL_VER >= 2.4.22
   alias ide-mod ide-core
   alias ide-probe-mod ide-detect



Reply to: