delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/11/23/01:00:14

Message-ID: <000801c173e3$de003310$0100a8c0@pentiumii>
From: "Dennis Louie" <dennis-louie AT att DOT net>
To: <djgpp-workers AT delorie DOT com>
Subject: statfs not returning correct cluster size
Date: Thu, 22 Nov 2001 21:58:24 -0800
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Reply-To: djgpp-workers AT delorie DOT com

This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C173A0.CEA49A20
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

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.

If you need additional information or have a workaround, please send =
email to dennis-louie AT att DOT net (I'm not subscribed to djgpp-workers).

Thanks,
Dennis Louie

------=_NextPart_000_0005_01C173A0.CEA49A20
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Has anyone encountered a problem with =
statfs not=20
returning the correct info in DJGPP 2.04 for Win2K/XP?&nbsp;&nbsp;I'm =
running XP=20
Pro.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have partitions with 1K and 4K =
cluster sizes, but=20
statfs returns 32K for both.&nbsp; It also appears to be returning =
incorrect=20
values for f_blocks, even for disk sizes under 2GB.&nbsp; I seem to be =
getting=20
the correct info for a 1.4MB floppy disk.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If you need additional information or =
have a=20
workaround, please send email to <A=20
href=3D"mailto:dennis-louie AT att DOT net">dennis-louie AT att DOT net</A> (I'm not =
subscribed=20
to djgpp-workers).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Dennis Louie</FONT></DIV></BODY></HTML>

------=_NextPart_000_0005_01C173A0.CEA49A20--

- Raw text -


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