On Mon, Sep 12, 2011 at 3:07 PM, Michael Schreckenbauer <grim...@gmx.de> wrote:
> On Monday, 12. September 2011 14:37:24 Canek Peláez Valdés wrote:
>> No fixable, in reality. The flexibility of udev is in part in that the
>> userspace can (and actually do) run arbitrary scripts and binaries
>> from udev rules. You can "fix" the ones that require binaries in /usr
>> *NOW*, but not forever, unless you forbid the use of arbitrary
>> binaries from udev rules.
>
> Why do you need to run arbitrary scripts to mount /usr?

It's not specifically that you need to run arbitrary scripts to mount
/usr. It's that it's unknown that /usr must be mounted before some
hotplug events are handled.

>
>> Linux has a much better, flexible and automatized (dracut) way of
>> doing this, by using an initramfs. With an initramfs you can have the
>> smallest / in the world, and mount everything else afterwards. The
>> initramfs memory is free'd after the pivot_root happens, so who cares
>> how big it is?
>
> KISS. An initramfs is an additional layer, that can fail.

Concur. While a massive machine full of moving parts is beautiful to
behold, it's also the easiest thing to break, accidentally or
otherwise.

-- 
:wq

Reply via email to