From mboxrd@z Thu Jan 1 00:00:00 1970 From: "CDeVilbiss@gmail.com" To: 9fans@cse.psu.edu Date: Fri, 23 Mar 2007 20:41:27 +0000 Message-ID: <1174682487.948169.40940@y66g2000hsf.googlegroups.com> In-Reply-To: <1174671190.917580.16150@l75g2000hse.googlegroups.com> References: <1174603052.290868.102400@n76g2000hsh.googlegroups.com> <1174611197.118455.89640@e1g2000hsg.googlegroups.com> <1174615620.140037.84140@o5g2000hsb.googlegroups.com> <1174671190.917580.16150@l75g2000hse.googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: [9fans] Fwd: Reading from FS with inaccurate file sizes? Topicbox-Message-UUID: 2f3165a0-ead2-11e9-9d60-3106f5b1d025 I started a conversation with Amit Singh on the MacFUSE website about the problems I was having with zero-sized files, and he brought up this point. I have neither a Linux nor a FreeBSD system to try this on, but I know some people on this list have used 9pfuse on those systems in the past. Can someone use 9pfuse -D and try out this test? That is: prompt # plumber prompt # 9pfuse -D `namespace`/plumb /mnt/plumb prompt # wc /mnt/plumb/rules # verify output is correct (and file non- empty) prompt # cat new_rule.txt >> /mnt/plumb/rules # what does the 9pfuse debug output show here, specifically for the offset of the write? ---------- Forwarded message ---------- From: "Amit Singh" Date: Mar 23, 11:33 am Subject: Reading from FS with inaccurate file sizes? To: macfuse-devel > prompt # cat new_rule.txt >> /mnt/plumb/rules # add a rule When you do this on Linux for a file with an advertised size of 0, what offset do you get in the write call in your user-space file system daemon?