From: "Colin DeVilbiss" <cdevilbiss@gmail.com>
To: 9fans@cse.psu.edu
Subject: [9fans] 9pfuse-mounted files don't "work" (Mac OS X on Power)
Date: Wed, 21 Mar 2007 22:59:20 -0500 [thread overview]
Message-ID: <6ec892cd0703212059p28e0b775ic0c91a52f1da1362@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 848 bytes --]
I'm running on a Power-based Mac Mini with an up-to-date MacFUSE and
freshly cvs update -d'ed /usr/local/plan9.
In one terminal, I run "plumber" and "9pfuse -D `namespace`/plumb /mnt/plumb".
Snippet from the other terminal:
% 9p read plumb/rules | wc
126 342 2962
% 9p ls plumb | wc
11 110 554
% ls /mnt/plumb | wc
11 11 81
% cat /mnt/plumb/rules | wc
0 0 0
% 9 cat /mnt/plumb/rules | wc
0 0 0
The "9pfuse -D" output corresponding to the two "cat" instances are
attached (as cat.out and 9cat.out, respectively, with newlines around
FUSE cmd/rsp pairs).
The same thing happens for acme files: "ls" works, "cat file" and
"echo foo > file" don't.
Am I doing something obviously wrong?
Thanks in advance for any help.
Colin DeVilbiss
[-- Attachment #2: cat.out --]
[-- Type: application/octet-stream, Size: 1500 bytes --]
FUSE -> len 8 unique 0 uid 501 gid 501 pid 19612 Access nodeid 0x1 mask 0x1
<- Twalk tag 0 fid 0 newfid 4 nwname 0
-> Rwalk tag 1 nwqid 0
<- Topen tag 0 fid 4 mode 0
-> Ropen tag 1 qid (0000000000000000 0 d) iounit 0
<- Tclunk tag 0 fid 4
-> Rclunk tag 1
FUSE <- unique 0 (Access)
FUSE -> len 6 unique 0x1 uid 501 gid 501 pid 19612 Lookup nodeid 0x1 name 'rules'
<- Twalk tag 0 fid 0 newfid 4 nwname 1 0:rules
-> Rwalk tag 1 nwqid 1 0:(0000000000000001 0 )
<- Tstat tag 0 fid 4
-> Rstat tag 1 stat 'rules' 'colin' 'colin' 'colin' q (0000000000000001 0 ) m 0600 at 1174530175 mt 1174530175 l 0 t 1 d 3159344
FUSE <- unique 0x1 (Lookup) nodeid 0x4 gen 0x6 entry_valid 1 attr_valid 1 ino 0x1 size 0 blocks 0 atime 1174530175 mtime 1174530175 ctime 1174530175 mode 0100600 nlink 1 uid 501 gid 501 rdev 0
FUSE -> len 8 unique 0 uid 501 gid 501 pid 19612 Access nodeid 0x4 mask 0x4
<- Twalk tag 0 fid 4 newfid 1 nwname 0
-> Rwalk tag 1 nwqid 0
<- Topen tag 0 fid 1 mode 0
-> Ropen tag 1 qid (0000000000000001 0 ) iounit 0
<- Tclunk tag 0 fid 1
-> Rclunk tag 1
FUSE <- unique 0 (Access)
FUSE -> len 8 unique 0x1 uid 501 gid 501 pid 19612 Open nodeid 0x4 flags 0 mode 0
<- Twalk tag 0 fid 4 newfid 1 nwname 0
-> Rwalk tag 1 nwqid 0
<- Topen tag 0 fid 1 mode 0
-> Ropen tag 1 qid (0000000000000001 0 ) iounit 0
FUSE <- unique 0x1 (Open) fh 0x2 flags 0x1
FUSE -> len 24 unique 0 uid 501 gid 501 pid 19612 Release nodeid 0x4 fh 0x2 flags 0
<- Tclunk tag 0 fid 1
-> Rclunk tag 1
FUSE <- unique 0 (Release)
[-- Attachment #3: 9cat.out --]
[-- Type: application/octet-stream, Size: 2631 bytes --]
FUSE -> len 8 unique 0x1 uid 501 gid 501 pid 19617 Access nodeid 0x1 mask 0
<- Twalk tag 0 fid 0 newfid 1 nwname 0
-> Rwalk tag 1 nwqid 0
<- Topen tag 0 fid 1 mode 0
-> Ropen tag 1 qid (0000000000000000 0 d) iounit 0
<- Tclunk tag 0 fid 1
-> Rclunk tag 1
FUSE <- unique 0x1 (Access)
FUSE -> len 0 unique 0 uid 501 gid 501 pid 19617 Getattr nodeid 0x1
<- Tstat tag 0 fid 0
-> Rstat tag 1 stat '.' 'colin' 'colin' 'colin' q (0000000000000000 0 d) m 020000000500 at 1174530175 mt 1174530175 l 0 t 1 d 3159344
FUSE <- unique 0 (Getattr) attr_valid 1 ino 0x8000000000000000 size 0 blocks 0 atime 1174530175 mtime 1174530175 ctime 1174530175 mode 040500 nlink 1 uid 501 gid 501 rdev 0
FUSE -> len 8 unique 0x1 uid 501 gid 501 pid 19617 Access nodeid 0x1 mask 0x1
<- Twalk tag 0 fid 0 newfid 1 nwname 0
-> Rwalk tag 1 nwqid 0
<- Topen tag 0 fid 1 mode 0
-> Ropen tag 1 qid (0000000000000000 0 d) iounit 0
<- Tclunk tag 0 fid 1
-> Rclunk tag 1
FUSE <- unique 0x1 (Access)
FUSE -> len 0 unique 0 uid 501 gid 501 pid 19617 Getattr nodeid 0x1
<- Tstat tag 0 fid 0
-> Rstat tag 1 stat '.' 'colin' 'colin' 'colin' q (0000000000000000 0 d) m 020000000500 at 1174530175 mt 1174530175 l 0 t 1 d 3159344
FUSE <- unique 0 (Getattr) attr_valid 1 ino 0x8000000000000000 size 0 blocks 0 atime 1174530175 mtime 1174530175 ctime 1174530175 mode 040500 nlink 1 uid 501 gid 501 rdev 0
FUSE -> len 8 unique 0x1 uid 501 gid 501 pid 19617 Access nodeid 0x1 mask 0
<- Twalk tag 0 fid 0 newfid 1 nwname 0
-> Rwalk tag 1 nwqid 0
<- Topen tag 0 fid 1 mode 0
-> Ropen tag 1 qid (0000000000000000 0 d) iounit 0
<- Tclunk tag 0 fid 1
-> Rclunk tag 1
FUSE <- unique 0x1 (Access)
FUSE -> len 8 unique 0 uid 501 gid 501 pid 19617 Access nodeid 0x1 mask 0
<- Twalk tag 0 fid 0 newfid 1 nwname 0
-> Rwalk tag 1 nwqid 0
<- Topen tag 0 fid 1 mode 0
-> Ropen tag 1 qid (0000000000000000 0 d) iounit 0
<- Tclunk tag 0 fid 1
-> Rclunk tag 1
FUSE <- unique 0 (Access)
FUSE -> len 8 unique 0x1 uid 501 gid 501 pid 19617 Access nodeid 0x4 mask 0x4
<- Twalk tag 0 fid 4 newfid 1 nwname 0
-> Rwalk tag 1 nwqid 0
<- Topen tag 0 fid 1 mode 0
-> Ropen tag 1 qid (0000000000000001 0 ) iounit 0
<- Tclunk tag 0 fid 1
-> Rclunk tag 1
FUSE <- unique 0x1 (Access)
FUSE -> len 8 unique 0 uid 501 gid 501 pid 19617 Open nodeid 0x4 flags 0 mode 0
<- Twalk tag 0 fid 4 newfid 1 nwname 0
-> Rwalk tag 1 nwqid 0
<- Topen tag 0 fid 1 mode 0
-> Ropen tag 1 qid (0000000000000001 0 ) iounit 0
FUSE <- unique 0 (Open) fh 0x2 flags 0x1
FUSE -> len 24 unique 0x1 uid 501 gid 501 pid 19617 Release nodeid 0x4 fh 0x2 flags 0
<- Tclunk tag 0 fid 1
-> Rclunk tag 1
FUSE <- unique 0x1 (Release)
next reply other threads:[~2007-03-22 3:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-22 3:59 Colin DeVilbiss [this message]
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
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=6ec892cd0703212059p28e0b775ic0c91a52f1da1362@mail.gmail.com \
--to=cdevilbiss@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).