NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: root-on-cgd revisited
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.
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,
> - For the end user, the init.root solutions is more complex.
Not if it is done properly. The will not even notice it in that case.
> - With the init.root method, there's a memory disk permanently taking
> up ram "in the background" which is doing me no good.
Well, that would be a bug of the implementation. Other operating system
are able to completely detach a boot ramdisks.
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
Home |
Main Index |
Thread Index |
Old Index