[Samba] Seeking in large files

Ron Vaughn RVaughn at nvidia.com
Fri Aug 19 17:16:15 GMT 2005


I understand the various 2G file issues (after searching through all the
archived digests), but I have a slightly different questions. We can
create and see and copy greater than 2G files, but we cannot *seek* past
2G in a file. Here is the e-mail from the engineer who tried:

    We can read past 2G linearly (md5sum or NvMedia/Tests/Dvd), 
    but it looks like any seek past 2G fails, even using fseeko
    (that uses off_t, which is 64bits, because we compiled with 
    _FILE_OFFSET_BITS=64) This means we can't seek/scan in large
    files over SMB. The same test works just fine with the iso file
    on my computer...


We are currently using smbfs, will going to cifs fix this seek issue?

	Thanks you,

	Ron Vaughn
	Nvidia Corp.





More information about the samba mailing list