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] Fwd: Reading from FS with inaccurate file sizes?
Date: Fri, 23 Mar 2007 18:39:58 -0400	[thread overview]
Message-ID: <20070323223958.GJ33600@kris.home> (raw)
In-Reply-To: <1174682487.948169.40940@y66g2000hsf.googlegroups.com>

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

On Fri, Mar 23, 2007 at 08:41:27PM -0000, CDeVilbiss@gmail.com wrote:
>Can someone use 9pfuse -D and try out this test?

% 9pfuse -D unix!`{namespace}^/plumb /mnt/plumb
<- Tversion tag 0 msize 8192 version '9P2000'
-> Rversion tag 65535 msize 8192 version '9P2000'
<- Tattach tag 0 fid 0 afid -1 uname kris aname 
-> Rattach tag 0 qid (0000000000000000 0 d)
FUSE -> len 16 unique 0 uid 0 gid 998 pid 17141 Init major 7 minor 8
FUSE <- unique 0 (Init) major 7 minor 5 max_write 4096
FUSE -> len 0 unique 0 uid 0 gid 998 pid 17141 Statfs
FUSE <- unique 0 (Statfs) blocks 0 bfree 0 bavail 0 files 0 ffree 0 bsize 0 namelen 0 frsize 0
FUSE -> len 0 unique 0 uid 0 gid 998 pid 17141 Getattr nodeid 0x1
/* Above 2 lines repeated many times; elided */
<- Tstat tag 0 fid 0
-> Rstat tag 0  stat '.' 'kris' 'kris' 'kris' q (0000000000000000 0 d) m 020000000500 at 1173567833 mt 1173567833 l 0 t 3328 d 134563933
FUSE <- unique 0 (Getattr) attr_valid 1 ino 0x8000000000000000 size 0 blocks 0 atime 1173567833 mtime 1173567833 ctime 1173567833 mode 040500 nlink 1 uid 1000 gid 998 rdev 0
wc /mnt/plumb/rules
FUSE -> len 6 unique 0 uid 1000 gid 998 pid 17888 Lookup nodeid 0x1 name 'rules'
<- Twalk tag 0 fid 0 newfid 1 nwname 1 0:rules 
-> Rwalk tag 0 nwqid 1 0:(0000000000000001 0 ) 
<- Tstat tag 0 fid 1
-> Rstat tag 0  stat 'rules' 'kris' 'kris' 'kris' q (0000000000000001 0 ) m 0600 at 1173567833 mt 1173567833 l 0 t 3328 d 134563933
FUSE <- unique 0 (Lookup) nodeid 0x2 gen 0x1 entry_valid 1 attr_valid 1  ino 0x1 size 0 blocks 0 atime 1173567833 mtime 1173567833 ctime 1173567833 mode 0100600 nlink 1 uid 1000 gid 998 rdev 0
FUSE -> len 8 unique 0 uid 1000 gid 998 pid 17888 Open nodeid 0x2 flags 0 mode 0
<- Twalk tag 0 fid 1 newfid 2 nwname 0 
-> Rwalk tag 0 nwqid 0 
<- Topen tag 0 fid 2 mode 0
-> Ropen tag 0 qid (0000000000000001 0 ) iounit 0
FUSE <- unique 0 (Open) fh 0x3 flags 0x1
FUSE -> len 0 unique 0 uid 1000 gid 998 pid 17888 Getattr nodeid 0x2
<- Tstat tag 0 fid 1
-> Rstat tag 0  stat 'rules' 'kris' 'kris' 'kris' q (0000000000000001 0 ) m 0600 at 1173567833 mt 1173567833 l 0 t 3328 d 134563933
FUSE <- unique 0 (Getattr) attr_valid 1 ino 0x1 size 0 blocks 0 atime 1173567833 mtime 1173567833 ctime 1173567833 mode 0100600 nlink 1 uid 1000 gid 998 rdev 0
FUSE -> len 24 unique 0 uid 1000 gid 998 pid 17888 Read nodeid 0x2 fh 0x3 offset 0 size 8192
<- Tread tag 0 fid 2 offset 0 count 4096
-> Rread tag 0 count 3178 '706c616e 393d2f75 73722f6c 6f63616c 2f706c61 6e390a0a 65646974 6f723d61 636d650a 0a616464 72656c65 6d3d2728 28233f5b 302d395d 2b297c28 2f5b412d'
FUSE <- unique 0 (Read) size 3178
FUSE -> len 24 unique 0 uid 1000 gid 998 pid 17888 Read nodeid 0x2 fh 0x3 offset 3178 size 8192
<- Tread tag 0 fid 2 offset 3178 count 4096
-> Rread tag 0 count 0 ''
FUSE <- unique 0 (Read) size 0
    130     362    3178 /mnt/plumb/rules
% FUSE -> len 24 unique 0 uid 1000 gid 998 pid 17888 Release nodeid 0x2 fh 0x3 flags 0
<- Tclunk tag 0 fid 2
-> Rclunk tag 0
cat lib/plumbing >/mnt/plumb/rules
FUSE -> len 6 unique 0 uid 1000 gid 998 pid 14894 Lookup nodeid 0x1 name 'rules'
<- Twalk tag 0 fid 0 newfid 2 nwname 1 0:rules 
-> Rwalk tag 0 nwqid 1 0:(0000000000000001 0 ) 
<- Tstat tag 0 fid 2
-> Rstat tag 0  stat 'rules' 'kris' 'kris' 'kris' q (0000000000000001 0 ) m 0600 at 1173567833 mt 1173567833 l 0 t 3328 d 134563933
FUSE <- unique 0 (Lookup) nodeid 0x3 gen 0x2 entry_valid 1 attr_valid 1  ino 0x1 size 0 blocks 0 atime 1173567833 mtime 1173567833 ctime 1173567833 mode 0100600 nlink 1 uid 1000 gid 998 rdev 0
FUSE -> len 8 unique 0 uid 1000 gid 998 pid 14894 Open nodeid 0x3 flags 0x1 mode 0
<- Twalk tag 0 fid 2 newfid 3 nwname 0 
-> Rwalk tag 0 nwqid 0 
<- Topen tag 0 fid 3 mode 1
-> Ropen tag 0 qid (0000000000000001 0 ) iounit 0
FUSE <- unique 0 (Open) fh 0x4 flags 0x1
FUSE -> len 0 unique 0 uid 1000 gid 998 pid 14894 Getattr nodeid 0x3
<- Tstat tag 0 fid 2
-> Rstat tag 0  stat 'rules' 'kris' 'kris' 'kris' q (0000000000000001 0 ) m 0600 at 1173567833 mt 1173567833 l 0 t 3328 d 134563933
FUSE <- unique 0 (Getattr) attr_valid 1 ino 0x1 size 0 blocks 0 atime 1173567833 mtime 1173567833 ctime 1173567833 mode 0100600 nlink 1 uid 1000 gid 998 rdev 0
FUSE -> len 88 unique 0 uid 1000 gid 998 pid 14894 Setattr nodeid 0x3 size 0
<- Twalk tag 0 fid 2 newfid 4 nwname 0 
-> Rwalk tag 0 nwqid 0 
<- Topen tag 0 fid 4 mode 17
-> Rerror tag 0 ename file already open
FUSE <- unique 0 error -34 Result too large
<- Tclunk tag 0 fid 4
/mnt/plumb/rules: rc: can't open: Result too large
% FUSE -> len 24 unique 0 uid 1000 gid 998 pid 14894 Release nodeid 0x3 fh 0x4 flags 0x1
<- Tclunk tag 0 fid 3
-> Rclunk tag 0
-> Rclunk tag 1
FUSE <- unique 0 (Release)
wc /mnt/plumb/rules
FUSE -> len 6 unique 0 uid 1000 gid 998 pid 18634 Lookup nodeid 0x1 name 'rules'
<- Twalk tag 0 fid 0 newfid 3 nwname 1 0:rules 
-> Rwalk tag 1 nwqid 1 0:(0000000000000001 0 ) 
<- Tstat tag 0 fid 3
-> Rstat tag 1  stat 'rules' 'kris' 'kris' 'kris' q (0000000000000001 0 ) m 0600 at 1173567833 mt 1173567833 l 0 t 3328 d 134563933
FUSE <- unique 0 (Lookup) nodeid 0x4 gen 0x2 entry_valid 1 attr_valid 1  ino 0x1 size 0 blocks 0 atime 1173567833 mtime 1173567833 ctime 1173567833 mode 0100600 nlink 1 uid 1000 gid 998 rdev 0
FUSE -> len 8 unique 0 uid 1000 gid 998 pid 18634 Open nodeid 0x4 flags 0 mode 0
<- Twalk tag 0 fid 3 newfid 4 nwname 0 
-> Rwalk tag 1 nwqid 0 
<- Topen tag 0 fid 4 mode 0
-> Ropen tag 1 qid (0000000000000001 0 ) iounit 0
FUSE <- unique 0 (Open) fh 0x5 flags 0x1
FUSE -> len 0 unique 0 uid 1000 gid 998 pid 18634 Getattr nodeid 0x4
<- Tstat tag 0 fid 3
-> Rstat tag 1  stat 'rules' 'kris' 'kris' 'kris' q (0000000000000001 0 ) m 0600 at 1173567833 mt 1173567833 l 0 t 3328 d 134563933
FUSE <- unique 0 (Getattr) attr_valid 1 ino 0x1 size 0 blocks 0 atime 1173567833 mtime 1173567833 ctime 1173567833 mode 0100600 nlink 1 uid 1000 gid 998 rdev 0
FUSE -> len 24 unique 0 uid 1000 gid 998 pid 18634 Read nodeid 0x4 fh 0x5 offset 0 size 8192
<- Tread tag 0 fid 4 offset 0 count 4096
-> Rread tag 1 count 3178 '706c616e 393d2f75 73722f6c 6f63616c 2f706c61 6e390a0a 65646974 6f723d61 636d650a 0a616464 72656c65 6d3d2728 28233f5b 302d395d 2b297c28 2f5b412d'
FUSE <- unique 0 (Read) size 3178
FUSE -> len 24 unique 0 uid 1000 gid 998 pid 18634 Read nodeid 0x4 fh 0x5 offset 3178 size 8192
<- Tread tag 0 fid 4 offset 3178 count 4096
-> Rread tag 1 count 0 ''
FUSE <- unique 0 (Read) size 0
    130     362    3178 /mnt/plumb/rules
% FUSE -> len 24 unique 0 uid 1000 gid 998 pid 18634 Release nodeid 0x4 fh 0x5 flags 0
<- Tclunk tag 0 fid 4
-> Rclunk tag 1

-- 
Kris Maglione

Some of it plus the rest of it is all of it.

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

  reply	other threads:[~2007-03-23 22:39 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1174603052.290868.102400@n76g2000hsh.googlegroups.com>
     [not found] ` <1174611197.118455.89640@e1g2000hsg.googlegroups.com>
     [not found]   ` <1174615620.140037.84140@o5g2000hsb.googlegroups.com>
     [not found]     ` <1174671190.917580.16150@l75g2000hse.googlegroups.com>
2007-03-23 20:41       ` CDeVilbiss
2007-03-23 22:39         ` Kris Maglione [this message]
2007-03-23 22:54           ` erik quanstrom
2007-03-25 17:59             ` Rolando Segura
2007-03-27 13:19         ` Russ Cox
2007-03-29  9:11         ` [9fans] " Amit Singh
2007-03-29  9:25           ` Charles Forsyth
2007-03-29  9:54           ` Uriel
2007-03-29  9:59             ` Francisco J Ballesteros
2007-03-29 10:14               ` Boris Maryshev
2007-03-29 11:02               ` Amit Singh
2007-03-29 13:36                 ` W B Hacker
2007-03-29 15:35                   ` Francisco J Ballesteros
2007-03-30 14:09                   ` David Leimbach
2007-03-31 18:41                     ` W B Hacker
2007-03-31 18:54                       ` erik quanstrom
2007-03-31 21:15                       ` C H Forsyth
2007-03-31 21:29                         ` W B Hacker
2007-04-01 10:33                           ` Charles Forsyth
2007-04-01 11:19                             ` erik quanstrom
2007-04-01 11:27                               ` Francisco J Ballesteros
2007-03-30  8:37               ` Amit Singh
2007-04-02  9:14               ` Amit Singh
2007-03-29 10:22           ` Amit Singh
2007-03-29 11:19           ` Amit Singh
2007-03-29 13:39             ` Colin DeVilbiss
2007-03-29 16:02             ` Amit Singh
2007-03-29  9:12         ` jas

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=20070323223958.GJ33600@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).