Re: Proposed enhancements to MD

viro
2004-01-13T22:57:19Z

On Tue, Jan 13, 2004 at 11:33:20PM +0100, Jure Pe??ar wrote:
> Looking at this chicken-and-egg problem of booting from an array from
> administrator's point of view ...
>
> What do you guys think about Intel's EFI? I think it would be the most
> apropriate place to put a piece of code that would scan the disks, assemble
> any arrays and present them to the OS as bootable devices ... If we're going
> to get a common metadata layout, that would be even easier.
>
> Thoughts?

Why bother? We can have userland code running before any device drivers
are initialized. And have access to
* all normal system calls
* normal writable filesystem already present (ramfs)
* normal multitasking
All of that - within the heavily tested codebase; regular kernel codepaths
that are used all the time by everything. Oh, and it's portable.

What's the benefit of doing that from EFI? Pure masochism?