From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>, Russ Cox References: <20051128020811.6CC4EDA182@dexter-peak.quanstro.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 In-Reply-To: Subject: Re: [9fans] fsdirread v dirread() Message-Id: <20051128114206.DCAA31E35@dexter-peak.quanstro.net> Date: Mon, 28 Nov 2005 05:42:06 -0600 Cc: Topicbox-Message-UUID: b2e9837a-ead0-11e9-9d60-3106f5b1d025 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 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.