9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Eoghan Sherry" <ejsherry@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: [9fans] nfs client and fstat
Date: Tue, 27 Jun 2006 22:05:48 -0400	[thread overview]
Message-ID: <a2d238df0606271905g11c6c2ci8fc89adb5c12098a@mail.gmail.com> (raw)

There is a problem with the nfs client when using fstat.
Suppose /n/share is a mounted nfs share.
dirstat("/n/share") works correctly returning "share" for
the name. However, dirfstat(open("/n/share", OREAD))
returns "???" for the name.

The problem appears to be how FidAux.name is used
in /sys/src/cmd/nfs.c:1248 to manage the file name.

I don't know enough to fix this problem and was wondering
if anyone else has come across it and could offer some
help.

Thanks a million,
eoghan


             reply	other threads:[~2006-06-28  2:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-28  2:05 Eoghan Sherry [this message]
2006-06-28 20:48 ` 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=a2d238df0606271905g11c6c2ci8fc89adb5c12098a@mail.gmail.com \
    --to=ejsherry@gmail.com \
    --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).