On 2017-04-27 13:54, Anton Aylward wrote:
On 26/04/17 11:53 PM, L A Walsh wrote:
Where do those numbers come from. In the interests of full disclosure, this is what i would show.
# lsmod | wc -l 68
Take 1 off that for the header line. Those are all demand loaded. There is nothing in my /etc/modules-load* What is in /etc/modprobe.d/* was put there by the installer, I've edited nothing.
Isengard:~ # lsmod | wc -l 164 That's a nearly default install of Leap 42.2.
# find /lib/modules/$(uname -r)/kernel -type f -print | wc -l 3845
Isengard:~ # find /lib/modules/$(uname -r)/kernel -type f -print | wc -l 3696
Betcha that for hardware specific I can go though all that, the drivers in particular, and PURGE! PURGE! PURGE! I'm sure that could make my initrd smaller as well :-) Its just that the very next 'zypper up' of kernel_stable will bring them all back.
Being obsessive about such tweaking, such minimization, is time consuming and frustrating. There's a good reason most of us don't bother, that most of us just go with the initrd method that is packaged and delivered. We've got better thing to be frustrated over, to have consume our valuable and limited time that shaving seconds of the, perhaps once or twice a day that we do system loads, time that could be better spent, for example, refilling the coffee cup, which is what I think I'll do tight now.
Yes, exactly. That machine above boots quite fast. The slowness comes from entering the disk password, manually. The usual hog is starting many services, or fsck. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)