B20: df bug (NT 4.0 SP4) reports max disk size of 2.0 GB only

Larry Hall lhall@rfk.com
Wed Nov 18 20:27:00 GMT 1998


At 11:46 AM 11/18/98 +0100, Anders Norlander wrote:
>Krishna Sampath wrote:
>> 
>> the df command reports the same file size for all the disks on the
>> system.... i have 4 GHz disks but the program reports the following:
>> 
>> Filesystem         1024-blocks  Used Available Capacity Mounted on
>> \\.\tape1:           2096450 1862158   234292     89%   /dev/st1
>> \\.\tape0:           2096450 1862158   234292     89%   /dev/st0
>> \\.\b:               2096450 1862158   234292     89%   /dev/fd1
>> \\.\a:               2096450 1862158   234292     89%   /dev/fd0
>> C:                   2096450 1862158   234292     89%   /
>> 
>> any ideas?
>
>This is due to a bug in win32 API GetFreeDiskSpace which return
>incorrect values for disks >2GB.
>
>Anders Norlander


I think this is only true for FAT partitions.  df reports fine here for
NTFS partitions >2GB and the doc doesn't talk about NTFS partitions...


Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      (781) 239-1053
8 Grove Street                          (781) 239-1655 - FAX
Wellesley, MA  02482-7797               http://www.rfk.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list