Szabolcs Szakacsits wrote:
> On Thu, 24 Jan 2008, Diomidis Spinellis wrote:
>> When I read large files using ntfs-3g 1.1120 the read is truncated.  The 
>> problem does not occur with shorter files.
> Thank you for the bug report. This looks to be a FreeBSD specific LFS 
> (large file support) issue. I can't reproduce it on Linux (1.2125-RC with 
> fuse-lite):
> 
>   % dd of=file seek=60011642880 bs=1 < /dev/null
>   % time dd if=file bs=1M >/dev/null
>   57231+1 records in
>   57231+1 records out
>   60011642880 bytes (60 GB) copied, 296.022 seconds, 203 MB/s

Just to make sure: are you sure you're not creating a sparse file with 
the first dd command?  I presume, reading an NTFS sparse file will 
follow a different code path from that of a fully populated one.

To create a non sparse file, you could use
dd of=file count=60000 bs=1M </dev/zero

I would expect an LFS problem to truncate the files to the same size. 
Is it worth trying this out with 1.2125-RC, instead of the stable version?

Diomidis

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to