On Sat, 6 Jan 2007, Yuval Fledel wrote:
> In ntfs_fuse_getattr():
> stbuf->st_blocks = ni->allocated_size >> vol->sector_size_bits;
ntfs-3g has no such line.
> Has an off-by-one error.
ni->allocated_size is not always correctly set yet but I can't see how this
would affect activesync (the data size is correct and most apps use that
one). Basically ->st_blocks could be anything, depending on how the fs
represents data internally. This should be completely irrelevent to syncing
files.
> Also, st_blocks is measured in 512 bytes blocks, not in sectors.
That's what ntfs-3g does. Your copy is old.
Szaka
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel