From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <7beb0bc1a3de01c3c6844789bf84f187@vitanuova.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] mounting channels in a Plan 9 server? From: rog@vitanuova.com In-Reply-To: <9b0916ab8db61cc99e267e7e550558a0@plan9.ucalgary.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Mon, 29 Mar 2004 21:23:26 +0100 Topicbox-Message-UUID: 461ba492-eacd-11e9-9e20-41e7f4b1d025 > trivially it could be done using general plan9 tools by mounting A > somewhere, mounting B in one of the directories served by A and > srvfs-ing the whole thing, but what if I don't want to post a file > descriptor in /srv? then use exportfs directly (it's what srvfs uses, after all). this is the correct solution; in general you can't just add the namespace for one 9p server into another - after all they use different qid, tag and fid spaces. this kind of multiplexing is exactly what exportfs is for. (along with the kernel itself). you could of course do the job of exportfs within your own fileserver (but there are lots of non-trivial gotchas). in limited domains, this can be a reasonable approach; i've done similar things in the past.