Subject: Re: @booted_kernel magic symlink?
To: None <tech-kern@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: tech-kern
Date: 04/28/2006 10:14:49
On Thu, 27 Apr 2006, der Mouse wrote:
> > In the case of a kernfs node, how is it supplied?  Or are you
> > intending the kernfs node to simply /be/ the kernel file node,
> 
> It wasn't my idea, but that's how I read it.
> 
> > which eliminates any need for the client to know the name?
> 
> Exactly.  Just as /kern/rootdev eliminates any need to know the root
> device's name.
> 
> > That could be handy, but what will the underlying mechanism be when
> > the kernel was booted over TFTP, say, and the kernel file isn't
> > otherwise available?
> 
> Probably the same as when the kernel is anywhere else: a copy of the
> kernel is saved in RAM, and that's what backs /kern/kernel.

Thanks, Mouse, you have understood exactly what I meant.

--apb (Alan Barrett)