9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 9pfuse-mounted files don't "work" (Mac OS X on Power)
@ 2007-03-22  3:59 Colin DeVilbiss
  2007-03-22 11:40 ` [9fans] Fwd: " Colin DeVilbiss
  2007-03-27 12:41 ` [9fans] " Russ Cox
  0 siblings, 2 replies; 9+ messages in thread
From: Colin DeVilbiss @ 2007-03-22  3:59 UTC (permalink / raw)
  To: 9fans

[-- 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)


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-03-27 12:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-22  3:59 [9fans] 9pfuse-mounted files don't "work" (Mac OS X on Power) 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
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

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).