http://qa.mandrakesoft.com/show_bug.cgi?id=5897
Product: initscripts
Component: initscripts
Summary: Significant faster booting
Product: initscripts
Version: 7.06-27mdk
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: initscripts
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
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.
--
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.