delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/18/12:09:21

From: anorland AT hem2 DOT passagen DOT se (Anders Norlander)
Subject: Re: B20: df bug (NT 4.0 SP4) reports max disk size of 2.0 GB only
18 Nov 1998 12:09:21 -0800 :
Message-ID: <3652A570.91ABA7E0.cygnus.gnu-win32@hem2.passagen.se>
References: <365191AF DOT 2231FC7E AT ekwireless DOT com>
Mime-Version: 1.0
To: Krishna Sampath <ksampath AT ekwireless DOT com>
Cc: gnu-win32 AT cygnus DOT com

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019