Date: Fri, 23 Nov 2001 10:31:47 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Dennis Louie" Message-Id: <1438-Fri23Nov2001103147+0200-eliz@is.elta.co.il> X-Mailer: emacs 21.1.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <000801c173e3$de003310$0100a8c0@pentiumii> (dennis-louie@att.net) Subject: Re: statfs not returning correct cluster size References: <000801c173e3$de003310$0100a8c0 AT pentiumii> 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: "Dennis Louie" > Date: Thu, 22 Nov 2001 21:58:24 -0800 > > Has anyone encountered a problem with statfs not returning the correct > info in DJGPP 2.04 for Win2K/XP? I'm running XP Pro. > > I have partitions with 1K and 4K cluster sizes, but statfs returns 32K > for both. It also appears to be returning incorrect values for > f_blocks, even for disk sizes under 2GB. I seem to be getting the > correct info for a 1.4MB floppy disk. Thanks for reporting this. Please step with a debugger into statfs, and see which system call returns the incorrect info. Then post the results here.