I am trying to rsync a file of 10gb between an NT host running Cygwin 4.10 and a Solaris 8 host running rsync 2.5.1 but am having problems with what appears to be a 2gb file limit - the truncation point occurs at 2096111616 bytes. The target filesystem definately supports files over 2GB. Any ideas how to overcome this limitation? Regards, Craig Donnelly Andel Consulting 10 Fenchurch Avenue London EC3M 5BN Tel: 0207 6655055 Fax: 0207 6655060
Craig Donnelly [Craig@andelconsulting.com] writes:> I am trying to rsync a file of 10gb between an NT host running Cygwin 4.10 > and a Solaris 8 host running rsync 2.5.1 but am having problems with what > appears to be a 2gb file limit - the truncation point occurs at 2096111616 > bytes. The target filesystem definately supports files over 2GB. > > Any ideas how to overcome this limitation?I'm pretty sure Cygwin itself has a 2GB (32-bit) limitation for files. Large file (64-bit) support for Cygwin has come up in various ways repeatedly on the Cygwin mailing list but it generally ends up at the point where if someone is asking for it, the suggestion is that they implement it :-) So I don't think there's any practical workaround with Cygwin. -- David /-----------------------------------------------------------------------\ \ David Bolen \ E-mail: db3l@fitlinxx.com / | FitLinxx, Inc. \ Phone: (203) 708-5192 | / 860 Canal Street, Stamford, CT 06902 \ Fax: (203) 316-5150 \ \-----------------------------------------------------------------------/
Martin Pool [mbp@samba.org] writes:> It could be an interesting project to try to build rsync under MSVC++. > Presumably it can handle large files. I don't think there's anything > impossible in principle about it.Not in principle, but unless you're also going to handle the same fork emulation and Unix semantics that Cygwin is doing, it's unlikely to be a weekend project :-) In theory a native port might use threads and overlapping I/O very effectively, but I think it would be fairly tough to do without some significant changes to the existing code. -- David /-----------------------------------------------------------------------\ \ David Bolen \ E-mail: db3l@fitlinxx.com / | FitLinxx, Inc. \ Phone: (203) 708-5192 | / 860 Canal Street, Stamford, CT 06902 \ Fax: (203) 316-5150 \ \-----------------------------------------------------------------------/