http://qa.mandrakesoft.com/show_bug.cgi?id=5897
------- Additional Comments From [EMAIL PROTECTED] 2003-20-10 19:07 ------- the issue is that depmod -A takes ages even though nothing changed, for it has to scan lots of modules in Mandrake. Somehow my code is somewhat faster, don't know why. Anyway, there is no need to run depmod every boot. rpm should do it when installing modules, and someone who compiles his own kernel can rely on make modules_install -- Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ------- Reminder: ------- assigned_to: [EMAIL PROTECTED] status: UNCONFIRMED creation_date: description: After modifying rc.sysinit, my system (PIII 650 @ 728 with SCSI disk) boots 15 seconds faster. depmod is run every time the computer boots, while there is a "cache" in modules.dep. If this file isn't outdated, there is no need to run depmod. I replaced depmod -A with: KRN=`uname -r`;if (( `find /lib/modules/$KRN/ -cnewer /lib/modules/$KRN/modules.dep | wc -l` != 0 )); then depmod -A; fi This might need some finetuning (maybe the existence of modules.dep should be checked) but I think the idea is clear.
