RFC: enhancing the root mount logic
Adrian Chadd
adrian at freebsd.org
Wed Aug 25 03:49:14 UTC 2010
On 25 August 2010 09:51, M. Warner Losh <imp at bsdimp.com> wrote:
> : I'm not saying the whole Linux initrd approach is -bad-; i'm just
> : saying it needs to be thought through a little more first.
>
> No body is saying that the only way to do things (or even the default
> way) is via the Linux mdroot thing. We're saying that it is *A* way
> to bootstrap a kernel that uses the ramfs to find the proper location
> of root to mount (maybe after initializing the device where root is),
> pivot to that new location.
>
> Marcel's current proposal seems simpler (and less flexible) than
> this. The proof in the pudding will be his ability to handle the
> 'layered' cases of encryption or compression I brought up earlier.
I do like the idea of a formalish description of a bootstrap process
rather than "hi, run these scripts."
That said, I do like the idea of also being able to run some scripts,
prep the system and then re-try the root mount. Having both options
would be rather nice.
In any case, +1 from me.
Adrian
More information about the freebsd-arch
mailing list