9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Bence Fábián" <begnoc@gmail.com>
To: sergio@pertico.net,
	Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] multiple acme instances with plan9port
Date: Wed,  7 Nov 2012 17:09:42 +0100	[thread overview]
Message-ID: <CAOCRf5W7DfnKDxd8P_V+ewa5T-aqi75qbr6x=hh+wKSG++pwtA@mail.gmail.com> (raw)
In-Reply-To: <CANdPsPyBnN-3O2xM3BttJvV40Rgi0aha37odB3W2Qw7FV8ahkw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 752 bytes --]

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 <g4ll0ws@gmail.com>

>
>
> On Wed, Nov 7, 2012 at 4:53 PM, Bence Fábián <begnoc@gmail.com> wrote:
>
>> you can try this as a quick fix:
>>
>> $ mkdir /tmp/ns2.r
>> $ NAMESPACE=/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.
>

[-- Attachment #2: Type: text/html, Size: 1650 bytes --]

  reply	other threads:[~2012-11-07 16:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-07 14:55 Ruslan Khusnullin
2012-11-07 15:53 ` Bence Fábián
2012-11-07 15:57   ` Sergio Perticone
2012-11-07 16:09     ` Bence Fábián [this message]
2012-11-07 16:22       ` Sergio Perticone
2012-11-07 16:45 ` Ethan Burns
2012-11-07 17:10 ` dexen deVries
2012-11-08  7:54   ` Ruslan Khusnullin
2012-11-08  9:48 ` Mark van Atten

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOCRf5W7DfnKDxd8P_V+ewa5T-aqi75qbr6x=hh+wKSG++pwtA@mail.gmail.com' \
    --to=begnoc@gmail.com \
    --cc=9fans@9fans.net \
    --cc=sergio@pertico.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).