9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Devon H. O'Dell" <devon.odell@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>
Subject: Re: [9fans] Help with device and clone?
Date: Thu, 18 Dec 2008 14:12:05 -0500	[thread overview]
Message-ID: <9ab217670812181112q50e2faccu81ba4b60d0aaa53c@mail.gmail.com> (raw)
In-Reply-To: <28236d787921cdc523d455f4c8ca6514@quanstro.net>

2008/12/18 erik quanstrom <quanstro@quanstro.net>:
>> Thank you... I think I see the issue now. I'm also enjoying:
>>
>> 245                         /* set up the network so we can talk to
>> the venti server */
>> 246                         /* this is such a crock. */
>>
>> Yes, yes it is...
>>
>> --dho
>
> we would all love it if you allowed venti to accept
> a fd instead of a tcp connection.

Maybe I will try to after I understand this a bit better, because it's
still not working, and I'm introduced with a couple of issues that I'm
still not coming around with solutions for -- that set-up is a really
huge hack. I guess I knew it was like that.

It seems to be a chicken-and-egg type problem, which I don't think it
is. I can't really kbind("#I", "/net", MAFTER); at the time that I'm
calling ethermediumbind -- it's too early for that. At the same time,
I can't really move the links and makekprocdev(&ipdevtab); to the area
in init0() where kbind()s happen. Maybe I'm missing something totally
obvious here, but there must be some way for me to call
ethermediumbind() and change its namespace view -- but so far
nothing's happening when I add:

kbind("#Zplan9/", "/", MAFTER);
+kbind("#I", "/net", MAFTER);
+kbind("#l0", "/net", MAFTER);
kbind("#p", "/proc", MREPL);

in init0.

--dho



  reply	other threads:[~2008-12-18 19:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-18  5:49 Devon H. O'Dell
2008-12-18 17:17 ` Devon H. O'Dell
2008-12-18 18:03   ` Russ Cox
2008-12-18 18:13     ` [9fans] " Devon H. O'Dell
2008-12-18 18:34       ` erik quanstrom
2008-12-18 19:12         ` Devon H. O'Dell [this message]
     [not found] <9ab217670812190824t16be8225me314389d7f47e853@mail.gmail.com>
     [not found] ` <522a7a003e27da5b09b543c427d7d4fa@quanstro.net>
     [not found]   ` <9ab217670812190838h31bb7f2cxb7fed0d6e7e0ba52@mail.gmail.com>
2008-12-19 16:40     ` Devon H. O'Dell
2008-12-19 16:43       ` erik quanstrom

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=9ab217670812181112q50e2faccu81ba4b60d0aaa53c@mail.gmail.com \
    --to=devon.odell@gmail.com \
    --cc=9fans@9fans.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).