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

Re: apex minutia



* Marc Singer <elf@buici.com> [2006-08-15 18:04]:
> I don't know what initramfs will do if it is given root=/dev/ram.

Well, me neither.

> If this is a problem, then by all means, let's not pass the option.
> If it doesn't matter, what is the harm?

> So, the question is this: what do you mean by 
> 
>   The downside of always passing root=/dev/ram if root is not set in the
>   environment is that imho starting the Debian initramfs with
>   root=/dev/ram is worse than starting it without any root option at
>   all.
> 
> Worse how?

The potential problem I see is this: if no root= is passed, initramfs
might take some default value, which might be a reasonable choice.
However, when it sees a root= it'll probably take that, but it'll
probably fall over when it sees root=/dev/ram.

Anyway, I don't have the answer to this and I don't have the time to
look at the code right now.  However, it doesn't matter much anyway
because we can always change whether root=/dev/ram is passed by
default.  Just leave it in for now and if it causes problems we can
always remove it.
-- 
Martin Michlmayr
http://www.cyrius.com/



Reply to: