NetBSD-Users archive

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

Re: root-on-cgd revisited

On Thu, Aug 20, 2009 at 10:58:35AM +0100, Matthias Scheler wrote:
> On Mon, Aug 17, 2009 at 09:38:48AM +0200, Jan Danielsson wrote:
> >    The goal is to be able to specify the cgd parameters for the root
> > device in the kernel congfiguration or (as suggested by tls) in
> > boot.cfg. This way, we could get root-on-cgd support in the GENERIC
> > kernel, and implementing root-on-cgd support in sysinstall would be trivial.
> I don't think either of those is a good idea. If you want to configure
> cgd in the kernel it should probably work similar to configuring
> RAID volumes:
> 1.) The kernel looks on all blocks devices for meta information that tell
>     it how to auto-configure cgd volumes.

There is no metadata in cgd volumes.

> 2.) If the meta information for any of the cgd volumes has the
>     "I want to be the root file-system" flag set (the same what
>      "raidctl -A root ..." does for RAIDframe) it becomse the
>     root file-suste,

There is no metadata in cgd volumes, and you've completely elided the
question of how to get the encryption key from the user!


Home | Main Index | Thread Index | Old Index