9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>,
	Russ Cox <rsc@swtch.com>
Subject: Re: [9fans] fsdirread v dirread()
Date: Mon, 28 Nov 2005 05:42:06 -0600	[thread overview]
Message-ID: <20051128114206.DCAA31E35@dexter-peak.quanstro.net> (raw)
In-Reply-To: <ee9e417a0511271903ne8b9f3dh31687dfc021d0c74@mail.gmail.com>

hopefully this is not to hurried.
the ... was /N/info where N is the message #.
i may have been wrong on the fsreaddir.

i have o.fs -m /home/quanstro/9/upasfs -b -d -s -f /imap/mail.speakeasy.org/quanstro
running. i'm reading 9p output from that.

the problem is that the 9p paths that faces sends upasfs when given 
-i -m /home/quanstro/9/upasfs/mbox as the mailbox start with 
"/home/quanstro/9/upasfs". upasfs returns an error that the file doesn't
exist and at that point in the code, faces exits. 

the magic incantation "faces -i -m mbox" works. upasfs doesn't get 
paths that start with "/home/quanstro/9/upasfs".

i hadn't gotten to nedmail yet.

erik

Russ Cox <rsc@swtch.com> writes

| 
| > i've been running linux 2.6.14 and mounting upasfs via
| > this mtab entry:
| >
| > /tmp/ns.quanstro.:0/upasfs      /home/quanstro/9/upasfs 9P      uid=N,user,name=quanstro,proto=unix,noauto      0 0
| >
| > which works great (after a few tweaks) except faces -i chokes and dies because
| > fsreaddir() ends up sending upasfs the path "/home/quanstro/upasfs/mbox/..."
| > instead of "mbox/...". i'm guessing that the named sockets in $NAMESPACE
| > need this extra information.


  reply	other threads:[~2005-11-28 11:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-28  2:08 erik quanstrom
2005-11-28  3:03 ` Russ Cox
2005-11-28 11:42   ` erik quanstrom [this message]
2005-11-28 12:02     ` Russ Cox

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=20051128114206.DCAA31E35@dexter-peak.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@cse.psu.edu \
    --cc=rsc@swtch.com \
    /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).