Do we need sys_open() et al (_LARGEFILE64_SOURCE and open64())?

Jeremy Allison jra at
Tue Mar 27 12:33:03 MDT 2012

On Mon, Mar 26, 2012 at 10:10:49PM +1100, Andrew Bartlett wrote:
> I was really hoping folks wouldn't jump to that conclusion.  To be
> really, really clear:  I'm saying that Samba should require a platform
> that has the ability to address files > 2 or 4GB with open(), pread(),
> pwrite() etc and an off_t of 64 bits.  Such platforms have existed for
> the greater part of two decades, even as '32 bit' systems.  
> The purpose of my mail is that I think we would struggle to find any
> systems that cannot support large files. 
> Do be really, really clear: my personal Linux laptop is still 32 bit
> 'only', and along with every other system I know of, will continue to
> work after this change.

+1 from me. This seems a resonable requirement for a 4.0 release.

More information about the samba-technical mailing list