Can I access files larger than 2G with MKS Toolkit porting APIs?
Windows NT/2K/XP with NTFS or Windows 9x/Me with FAT32 allow files larger than 2G (FAT32 imposes a file size restriction of 4G (32-bit unsigned offsets) while NTFS has a 16 exabyte size restriction (64-bit unsigned offsets)). MKS Toolkit will permit sequential access to such files today. APIs such as read() without lseek() and utilities such as cp and tar use the Win32 API ReadFile and are not restricted by file system. However, if you wish to use, for example, sort to manipulate a file larger than 2G, or use lseek() to an offest which cannot be represented by a number less than or equal to 231-1 (the maximum signed 32-bit quantity), then you either need tools and APIs that are large file aware or native Win64 ports of the tools and the APIs. Arbitrary File Sizes to the Single UNIX Specification. Further, various utilities such as more, pg and sort will be enhanced to support files as large as 263-1 (the maximum signed 64-bit quantity) where possible by the underlying data structures u