I do not know. The trace that I provided is what it looks like from the fuse 
operations implementation. 

If you know for sure that its not mac fuse, then kindly disregard (or maybe 
look into a way to cache some
of this info to reduce the noise.)

Regards,
Frank

On Apr 28, 2010, at 10:03 AM, Sam Moffatt wrote:

> How are you sure this is macfuse and not the vfs layer?
> 
> Sam Moffatt
> http://pasamio.id.au
> 
> 
> 
> On Thu, Apr 29, 2010 at 12:27 AM, Frank <[email protected]> wrote:
>> In development of a file system, below is a trace of a "cp -RX ./ /
>> Volumes/newffs/". Listed below is a snippet of one file creation and
>> write. Please note below the excessive calls of getattr that FUSE
>> makes to the filesystem. These same actions occur with the loopback
>> filesystem reference.
>> 
>> ---> getattr: /usr/share/man/cat1/tbl.0
>> --->   -ENOENT
>> 
>> ---> getattr: /usr/share/man/cat1/tbl.0
>> --->   -ENOENT
>> (*** fuse didn't seem to believe the previous answer)
>> 
>> ---> create: /usr/share/man/cat1/tbl.0 mode=100444
>> --->   0
>> 
>> ---> fgetattr: fd=5
>> --->   0, st_mode=100444
>> 
>> ---> getattr: /usr/share/man/cat1/tbl.0
>> --->   0, st_mode=100444
>> (*** fuse didn't seem to believe the previous answer)
>> 
>> ---> fsetattr_x:SETATTR_WANTS_MODE(attr): path=/usr/share/man/cat1/tbl.
>> 0 mode=400
>> --->   0
>> (*** why not just set the mode you wanted in the create)
>> 
>> ---> getattr: /usr/share/man/cat1/tbl.0
>> --->   0, st_mode=100400
>> (*** is confirmation necessary here, why not rely on error result of
>> previous operation)
>> 
>> ---> write: fd=5 size=14025 ofs=0
>> --->   0
>> 
>> ---> getattr: /usr/share/man/cat1/tbl.0
>> --->   0, st_mode=100400
>> (*** is confirmation necessary here, why not rely on error result of
>> previous operation)
>> 
>> ---> fsetattr_x:SETATTR_WANTS_MODE(attr): path=/usr/share/man/cat1/tbl.
>> 0 mode=444
>> --->   0
>> 
>> ---> getattr: /usr/share/man/cat1/tbl.0
>> --->   0, st_mode=100444
>> (*** is confirmation necessary here, why not rely on error result of
>> previous operation)
>> 
>> ---> release: fd=5
>> --->   0
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "MacFUSE" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/macfuse?hl=en.
>> 
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "MacFUSE" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/macfuse?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"MacFUSE" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/macfuse?hl=en.

Reply via email to