From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Tue, 14 Dec 2010 13:19:53 -0500 To: 9fans@9fans.net Message-ID: <8f2874e1e9314a2a2af78a99b287b018@coraid.com> In-Reply-To: <20101214180515.GK19600@gradx.cs.jhu.edu> References: <497ec7fa82fb9d39e8748dbdd3f24d7a@quintile.net> <20101214180515.GK19600@gradx.cs.jhu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] interaction of net.alt and factotum Topicbox-Message-UUID: 8c846870-ead6-11e9-9d60-3106f5b1d025 > On Tue, Dec 14, 2010 at 01:00:33PM +0000, Steve Simon wrote: > > Is there a way to hook into the napespace of factotum (I beleive there was a kernel > > patch to make /proc/??/ns writable which should do it but I was hoping for a solution > > that just used "a clever plan9 trick" > > I needed read access to this namespace and so bound an exportfs in /srv as > one of the last lines of cpurc. You could spawn an agent which was prepared > to receive, over a /srv pipe, the name of a /srv pipe and mount it over > /net.alt. Note that this trick clutters /srv fast, but if you only need to > apply it once... factotum is started by the boot process before cpurc. - erik