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

From: lhall AT rfk DOT com (Larry Hall)
Subject: Re: B20: df bug (NT 4.0 SP4) reports max disk size of 2.0 GB
only
19 Nov 1998 09:08:18 -0800 :
Message-ID: <3.0.5.32.19981118170815.00b0aac0.cygnus.gnu-win32@pop.ma.ultranet.com>
References: <3652A570 DOT 91ABA7E0 AT hem2 DOT passagen DOT se>
Mime-Version: 1.0
To: Anders Norlander <anorland AT hem2 DOT passagen DOT se>,
Krishna Sampath <ksampath AT ekwireless DOT com>
Cc: gnu-win32 AT cygnus DOT com

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

- Raw text -


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