Date: Wed, 28 Nov 2001 19:57:50 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: sandmann AT clio DOT rice DOT edu Message-Id: <2110-Wed28Nov2001195749+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: dennis-louie AT att DOT net, acottrel AT ihug DOT com DOT au, djgpp-workers AT delorie DOT com In-reply-to: <10111281623.AA18641@clio.rice.edu> (sandmann@clio.rice.edu) Subject: Re: df on NT/W2K (was: Re: statfs not ... 7302h and GNU df don't work either) References: <10111281623 DOT AA18641 AT clio DOT rice DOT edu> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) > Date: Wed, 28 Nov 2001 10:23:37 -0600 (CST) > > This may be unrelated (I noticed a problem with df and never remembered to > report it). This is df under Windows NT using clio cvs built version > (I see similar under Windows 2000 and with pre-cvs version). > > Filesystem 1k-blocks Used Available Use% Mounted on > Drive C: 999968 767936 232032 77% c:/ > Drive D: 992061 0 992061 0% d:/ > Drive E: 992061 0 992061 0% e:/ > \\HOUSTON\SANDMANN$ 992061 0 992061 0% s:/ > \\SETI\C 992061 758016 234045 76% y:/ > \\HOUSTON\SOFTWARE 992061 952119 39942 96% z:/ > > C has no label. 237,602,816 bytes free : size 1.2Gb > D has no label. 1,047,760,896 bytes free : size 2.8Gb > E has no label. 8,427,175,936 bytes free : size 8.5Gb > S is Drive_F 158,831,882,240 bytes free : size 186Gb ! > Y has no label. 1,947,729,920 bytes free : size 21Gb > Z is SOFTWARE 1,330,528,256 bytes free : size 68Gb > > For the C drive the free space is correct, but for most values over > 1Gb the values seem "truncated". The values for y: and z: on free space > are just wrong - these are network drives. I don't expect anything else on NT and its derivatives: the only system call we have there available to us is function 36h of Int 21h, which is limited to 2GB by design.