[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: / vs. /usr vs. fsck(8)



On Thu, 2011-10-13 at 11:19 +0200, Luca Capello wrote:
> Hi there!
> 
> On Wed, 12 Oct 2011 21:24:33 +0200, Marco d'Itri wrote:
> > On Oct 12, Reinhard Tartler <siretart@debian.org> wrote:
> >
> >> On the other hand, Debian has chosen against that and relies on klibc,
> >> ipconfig, etc. for early userspace and thus, the initramfs. I suspect
> >> the main motivations behind these decisions were portability and size
> >> (please correct me and add references).
> > The Debian initramfs of my sid system is 10 MB, while the one from my
> > RHEL 6.1 servers is 12 MB. So there is no big difference here.
> 
> I checked my systems and found out something strange about initrd sizes,
> all with MODULES=most in /etc/initramfs-tools/initramfs.conf:
> 
>   |--------------+------------------+-------------|
>   | distribution | kernel           | initrd size |
>   |--------------+------------------+-------------|
>   | lenny        | 2.6.26-2-orion5x |     3287928 |
>   |              | 2.6.26-2-amd64   |     7766596 |
>   |              | 2.6.26-2-amd64   |     7787529 |
>   |              | 2.6.26-1-686     |     7626120 |
>   |              | 2.6.26-2-686     |     7629923 |
>   |              | 2.6.26-2-686     |     7635738 |
>   | squeeze      | 2.6.32-5-amd64   |     9245071 |
>   |              | 2.6.32-5-amd64   |     9256338 |
>   |              | 2.6.32-5-amd64   |     9260727 |
>   |              | 2.6.32-5-amd64   |     9919173 |
>   |              | 2.6.32-5-amd64   |    10506190 |
>   |              | 2.6.32-5-686     |    10509240 |
>   |              | 2.6.39-2-amd64   |    10680155 |
>   |              | 3.0.0-1-amd64    |    10858550 |
>   | sid          | 3.0.0-2-amd64    |     4057637 |
>   |              | 3.1.0-rc4-amd64  |     4120746 |
>   |              | 3.1.0-rc7-amd64  |     4121794 |
>   |--------------+------------------+-------------|
> 
> On my sid, using MODULES=dep I get 4062599 for 3.1.0-rc7-amd64, which is
> practically no different from MODULES=most.  Considering that my sid is
> full-disk encrypted, there is something odd, here.

I think you're mistaken about those last few.  MODULES=most still
results in a ~10 MB initramfs on x86.

Ben.

-- 
Ben Hutchings
Quantity is no substitute for quality, but it's the only one we've got.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: