From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: Ben Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit References: <07032038068eb2473dd63c7a4e51d270@vitanuova.com> Subject: Re: [9fans] cdrom floppy tape etc, media mount point Date: Thu, 18 Jul 2002 09:50:52 +0000 Topicbox-Message-UUID: cfb5909e-eaca-11e9-9e20-41e7f4b1d025 >i recently knocked up a little filesystem as in inferno as an >experiment (it was actually to test a new library interface), which >acts as a kind of auto mountpoint directory. > >in this directory, a walk to any name will succeed, and will walk to >an empty directory of that name. a read of the original will now show >the new name. > >thus, having done: > > autodir /n > >you can do, say: > > mount /srv/factotum /n/bletheridoo > >and it will work - the destination mount point is created on demand >(and deleted when there are no more references to it). > >i haven't used it in earnest, but it always seemed a bit unnatural >to have to pre-create mount points for all future services; >perhaps there's a place for something like this under plan 9? >(it's only a couple of hours work). > > cheers, > rog. > Care to share your code with us?