[Samba] smb_offset_t

chengann, eds lab chengann at edslab.com
Wed Oct 11 12:16:55 GMT 2006


i have a linux 2.4.20, running samba 3.0.23
and mounting a vfat drive. it is cross compiled
for a mips cpu.

using dd and ftp, i can upload files up to 4GB in size.
with samba, i can only work up to 2GB.

checking the code in posix.c, there is a smb_offset
with checks the lock range up to 2GB. i am not using nfs
in the production machine. also, the includes.h seems
to indicate a 64bit type data structure which my machine
can't recognize. 

will any expert advise where i should work on to
patch samba to work up to 4GB on vfat?


More information about the samba mailing list