From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: "Steve Simon" Date: Tue, 4 Oct 2011 14:34:04 +0100 To: 9fans@9fans.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] namec() dislikes #M - why? Topicbox-Message-UUID: 31c1425e-ead7-11e9-9d60-3106f5b1d025 Why can I not re-bind #M? /sys/src/9/port/chan.c:1374 I want to use auth/newns to flush out my namespace then build a new one including some bits of devcons. Is this a security issue for cpu servers? I cannot see what it is protecting me from. Also, why is this done here and not in fsattach() of devcons (with a refcount)? -Steve From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 4 Oct 2011 09:43:01 -0400 Message-ID: Subject: Re: [9fans] namec() dislikes #M - why? From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Topicbox-Message-UUID: 31d21d68-ead7-11e9-9d60-3106f5b1d025 #M is not a nameable device. It is a pseudo-device representing mounted connections. Instead of writing bind -b #M123 /dev You are supposed to write mount -b /srv/whatever /dev My memory is that the name space files use the latter form unless the original name is gone. Russ From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 4 Oct 2011 14:54:34 +0100 Message-ID: From: Charles Forsyth To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=00151747627873a75204ae796e53 Subject: Re: [9fans] namec() dislikes #M - why? Topicbox-Message-UUID: 322413de-ead7-11e9-9d60-3106f5b1d025 --00151747627873a75204ae796e53 Content-Type: text/plain; charset=UTF-8 #M, but devcons? devcons is #c On 4 October 2011 14:34, Steve Simon wrote: > then build a new one including some bits of devcons. ... > > Also, why is this done here and not in fsattach() of devcons > (with a refcount)? --00151747627873a75204ae796e53 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable #M, but devcons? devcons is #c

On 4 Octob= er 2011 14:34, Steve Simon <steve@quintile.net> wrote:
then build a new one including some bits of devcons.
=C2= =A0...
Also, why is this d= one here and not in fsattach() of devcons
(with a refcount)?
--00151747627873a75204ae796e53-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 4 Oct 2011 22:59:37 +0300 Message-ID: From: Yaroslav To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] namec() dislikes #M - why? Topicbox-Message-UUID: 32b8c560-ead7-11e9-9d60-3106f5b1d025 Perhaps, Steve wants rio-simulated /dev/cons. Steve, doesn't mount -b $wsys /dev in the new ns do the trick? 2011/10/4 Charles Forsyth : > #M, but devcons? devcons is #c > > On 4 October 2011 14:34, Steve Simon wrote: >> >> then build a new one including some bits of devcons. > > =C2=A0... >> >> Also, why is this done here and not in fsattach() of devcons >> (with a refcount)? --=20 - Yaroslav From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <804ef379145965a01d1ed5191e77dcff@quintile.net> From: "Steve Simon" Date: Thu, 6 Oct 2011 22:06:47 +0100 To: 9fans@9fans.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] namec() dislikes #M - why? Topicbox-Message-UUID: 346418ce-ead7-11e9-9d60-3106f5b1d025 Sorry for the noise, I was tired. thans to all who replied. -Steve