Hi:

I'm working with writeFileAtPath and testing using small files to help
me debug (and implement). I'm simulating small files with dd using
this command (incrementing count as needed):

dd if=/dev/zero of=/Volumes/myfancyfusefs/j10 bs=1024 count=5

Here is some info from writeFileAtPath for the 5 iterations:

Iteration 1: size = 1024, offset=0, return=1024 (I write all data OK).
Iteration 2: size = 2048, offset=0, return=2048 (I write all data OK).
Iteration 3: size = 3072, offset=0, return=3072 (I write all data OK).
Iteration 4: size = 4096, offset=0, return=4096 (I write all data OK).
Iteration 5: size = 1024, offset=4096, return=1024 (I write all data
OK).

My question is why does this behave like this? I'm returning 'size'
because it works, and I do write that data out. But I'm probably
overwriting it 3 of the 4 times until I get the full 4k and my offset
increases.

Thanks,
Jason.
--~--~---------~--~----~------------~-------~--~----~
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