Subject: re: @booted_kernel magic symlink?
To: Alan Barrett <apb@cequrux.com>
From: matthew green <mrg@eterna.com.au>
List: tech-kern
Date: 04/28/2006 17:34:11
   > > 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.

/kern/r?rootdev aren't really that useful.  they don't work if the
root device node isn't in the (vnode?) cache.  ie, you can't use
it for "mount /kern/rootdev /" because the kernel doesn't know what
rootdev is (from the /dev device POV) until the real device node is
accessed..


.mrg.