From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 7 Nov 2012 17:09:42 +0100 Message-ID: From: =?UTF-8?B?QmVuY2UgRsOhYmnDoW4=?= To: sergio@pertico.net, Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=f46d042f931e46a3f304cde9f266 Subject: Re: [9fans] multiple acme instances with plan9port Topicbox-Message-UUID: d420bd86-ead7-11e9-9d60-3106f5b1d025 --f46d042f931e46a3f304cde9f266 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yes. It's clumsy. issuing "Local plumber" starts it. you could try changing fsys.c:124: if(post9pservice(p[0], "acme", mtpt) < 0) to post acme.$pid instead of acme. it's fairly trivial, however might break something. i don't have time to check it right now. (there's a global var mainpid. i ithink it is set by the time of the post) 2012/11/7 Sergio Perticone > > > On Wed, Nov 7, 2012 at 4:53 PM, Bence F=C3=A1bi=C3=A1n = wrote: > >> you can try this as a quick fix: >> >> $ mkdir /tmp/ns2.r >> $ NAMESPACE=3D/tmp/ns2.r acme >> >> maybe write a wrapper script for it >> >> > But probably you should also take care to run (another instance?) of > plumber(1) in the same namespace. > > s. > --f46d042f931e46a3f304cde9f266 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yes. It's clumsy.
issuing "Local plumber" starts it.
you could try changing

fsys.c:124: if(post9pservice(p[0], "acme"= , mtpt) < 0)

to post acme.$pid instead of acme. it's fairl= y trivial, however might break
something. i don't have = time to check it right now.
(there's a global var mainpid. i = ithink it is set by the time of the post)


2012/11/7 Ser= gio Perticone <g4ll0ws@gmail.com>


On Wed, Nov 7, 2012 at= 4:53 PM, Bence F=C3=A1bi=C3=A1n <begnoc@gmail.com> wrote:
you can try this as a quick fix:

$ mkdir /tmp/ns2.r=
$ NAMESPACE=3D/tmp/ns2.r acme

may= be write a wrapper script for it


But probably you should also take care to run (another instanc= e?) of plumber(1) in the same namespace.

s.

--f46d042f931e46a3f304cde9f266--