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

Re: Red Hat is moving from / to /usr/



Reinhard Tartler <siretart@debian.org> writes:

> On Mo, Dez 12, 2011 at 05:36:41 (CET), Karl Goetz wrote:
>
> [...]
>
>>> The initramfs on the other hand is made to fit. So if /usr isn't on a
>>> networking filesystem (NFS) then you won't get networking stuff in the
>>> initramfs. No raid then mdadm isn't included. No lvm and the initramfs
>>> gets smaller again. And only select modules for one kernel are in
>>> there. Huge space saving again. So an initramfs will/can be minimal.
>>
>> I assume this means it will be impossible to swap the hdd from one
>> system to another without rebuilding the initramfs? Seems like a step
>> backwards for flexability.
>
> Trimming the initramfs is an *optional* feature.
>
> cf. /etc/initramfs-tools/initramfs.conf
>
> Cheers,
> Reinhard

If you swap the hdd from one system to another it doesn't suddenly start
requiring raid support or need lvm. What can be a problem is suddenly
missing the right module for the controler so no disk is found.

This is something you already have for /. Including "mount /usr" in the
initramfs in no way changes this. And default is, as Reinhard says, to
build a big initramfs with lots of modules in there just in case.

MfG
        Goswin


Reply to: