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 06:13:55AM -0400, Thor Lancelot Simon wrote:
> > 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.

Yes, I know. But that can be changed.

> > 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!

Well, by prompting for the password obviously. You could put it
in "boot.cfg" as well if you like.

I'm just saying that in my opinion the cgd configuration belongs neither
into the kernel nor into "boot.cfg".

        Kind regars

Matthias Scheler                        

Home | Main Index | Thread Index | Old Index