B20: df bug (NT 4.0 SP4) reports max disk size of 2.0 GB only
Anders Norlander
anorland@hem2.passagen.se
Wed Nov 18 02:47:00 GMT 1998
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
-
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