Anton Aylward wrote:
On 04/21/2015 02:02 AM, Per Jessen wrote:
I agree it would be nice to reduce the number of times the initrd is being rebuilt - you only have to update mdadm, and voila, a new initrd.
Apart from that, I don't really get what it is you're suggesting. Purging unneeded/unwanted modules would only save disk-space, I think.
Its not just about reducing the amount of disk space.
When I download a whole new kernel from -stable I expect a mkinitrd. To build a new initrd.
What don't expect is that when I run a 'zypper up' and I get 4 or 5 updates, each one of them triggers a mkinitrd. Surely just one, at the end when all the deltas/whatever have been done.
(sorry about the late reply, I was away for a few days.) I agree it would be nice if we could have the initrd rebuilt just once, that would certainly save some time.
As it happens. What's under /lib/modules comes along in a package with a new kernel. As I said, I can understand a complete set when installing or making a portable system,. Others have pointed out the issue of if you are actually building you can be specific about what you include, but this way I pay for bandwidth for stuff I don't want and never use.
Why?
I think I said it earlier - because the kernel package is only 50Mb, it's a mere drop in the ocean. There is simply no business case for splitting it up.
I know which kernel modules I use - lsmod tells me. I can see what I've explicitly or automagically blacklisted.
You can't see what has yet to be loaded :-) As an aside, do you actually blacklist many modules? I don't recall when I last had to resort to that.
To some degree I'm not sure why I need a complete mkinitrd. I can see why I need a update to the grub menu. As far as I can tell the bundling of a complete minisystem in the initrd is ether belt&braces or simple paranoia.
None of that. Something has to mount your root filesystem. openSUSE supports having the root filesystem on a plethora of devices - iSCSI, USB, NFS etc etc. You can certainly build a monolithic kernel with everything needed built in, but that'll only fit your system. -- Per Jessen, Zürich (14.6°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org