Subject: Re: B20: df bug (NT 4.0 SP4) reports max disk size of 2.0 GB only
From: [email-masked] (Larry Hall)

19 Nov 1998 09:08:18 -0800
Message-ID: <[email-masked]>
References: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: Anders Norlander <[email-masked]>,
        Krishna Sampath <[email-masked]>
Cc: [email-masked]

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                              [email-masked]
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
"[email-masked]" with one line of text: "help".