Subject: Re: How to resolve the filename(s) for a vnode?
To: Bill Studenmund <wrstuden@netbsd.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 10/20/2005 08:39:48
On Oct 19, 2005, at 11:38 AM, Bill Studenmund wrote:

> If you wanted to go the pseudo filename route, you could make a fake
> directory in the root (hooking into VOP_LOOKUP(). For any lookup in  
> that
> directory, you just do an unmapping of hex-dump-file-handle, and call
> VFS_FHTOVP() on your mount point.

FWIW... Mac OS X has something called "volfs" which is ... very much  
like this (some of the details are different, but it basically the  
same idea).  Carbon uses it to provide old Mac OS-style file access  
semantics.

-- thorpej