Bug#616729: mdadm includes stuff in initrd even if this is not needed

martin f krafft madduck at debian.org
Mon Mar 7 10:24:27 UTC 2011


also sprach Christoph Anton Mitterer <calestyo at scientia.net> [2011.03.07.0023 +0100]:
> mdadm's initramfs-tools hook, includes the mdadm binary and
> modules in the initramfs images even if those are not required for
> booting (e.g. neiter the root-fs, nor any resume-devices) are on
> an MD.

It is practically impossible to determine whether MD will be needed
for booting, due to the complexity of things. Therefore, I chose to
be on the safe side and provide the binary unconditionally.

One could consider whether INITRDSTART==none could be reason enough
to skip installing the MD stuff into the initrd.

Yet, I think having the binary around for cases where you need it
far outweighs the benefit of a slightly smaller initramfs.

> Would be nice if this could be eventually improved.

How would you improve it?

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"when a gentoo admin tells me that the KISS principle is good for
 'busy sysadmins', and that it's not an evolutionary step backwards,
 i wonder whether their tape is already running backwards."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 1124 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20110307/f0e84568/attachment-0001.pgp>


More information about the pkg-mdadm-devel mailing list