9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Kris Maglione <bsdaemon@comcast.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Re: 9pfuse-mounted files don't "work" (Mac OS X on Power)
Date: Thu, 22 Mar 2007 15:54:16 -0400	[thread overview]
Message-ID: <20070322195416.GI33600@kris.home> (raw)
In-Reply-To: <6ec892cd0703221213j785f9e22vd722659bf84f7133@mail.gmail.com>

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

On Thu, Mar 22, 2007 at 01:13:18PM -0600, Colin DeVilbiss wrote:
>On a whim, I just went back and changed the code to set the length to
>1 for rules and 0 for everything else, after which "cat" and "head"
>worked, but things like "tail" and "less" behaved rather badly.
>
>MacFUSE must be making decisions about the "actual" filesize based on
>the stat value, and changing the behavior of read() accordingly.

I'd be interested in the debugging output for files that actually work. 
Your initial debugging output shows an iounit of 0 on Ropen calls, and 
if that's accurate, finding out why would be of some use.

-- 
Kris Maglione

The primary function of the design engineer is to make
things difficult for the fabricator and impossible
for the serviceman.

[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]

  parent reply	other threads:[~2007-03-22 19:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-22  3:59 [9fans] " Colin DeVilbiss
2007-03-22 11:40 ` [9fans] Fwd: " Colin DeVilbiss
2007-03-22 19:13   ` [9fans] " Colin DeVilbiss
2007-03-22 19:17     ` Francisco J Ballesteros
2007-03-22 19:54     ` Kris Maglione [this message]
2007-03-22 20:48       ` W B Hacker
2007-03-22 21:16         ` Colin DeVilbiss
2007-03-22 21:25           ` W B Hacker
2007-03-27 12:41 ` [9fans] " 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=20070322195416.GI33600@kris.home \
    --to=bsdaemon@comcast.net \
    --cc=9fans@cse.psu.edu \
    /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).