|
From: Earl K. <eh...@go...> - 2005-03-04 19:29:46
|
In comparing various packages that provide an UNIX-like under Windows, I found that the stat() function in the MINGW clib does not return the proper file size for files over 4 gigabytes. Presumably because it uses the same library, the ls command of MSYS also does not report the proper file size for files over 4 gigabytes. (The size at which the failure takes place may be less. I simply happened to have a 4.8 gigabyte file that was reported as approximately 500 megabytes.) I have also found the same failing in the Microsoft (Interix) Services for Unix and in the ATT Uwin package. Since the dir command in a "dos box" returns the proper file size, I presume there is an underlying system call that does return the proper size for large files. I do video editing under Windows 2000. For some applications, the work file can be 60 or 70 gigabytes.... I did do a search through the archives using the key words stat and ntfs without finding anything relevant to this problem. EHK |