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

X-Authentication-Warning: new-smtp1.ihug.com.au: Host p27-tnt7.syd.ihug.com.au [203.173.144.27] claimed to be acceleron
Message-ID: <003301c17407$8b7135d0$0a02a8c0@acceleron>
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: "Dennis Louie" <dennis-louie AT att DOT net>
Cc: <djgpp-workers AT delorie DOT com>
References: <000801c173e3$de003310$0100a8c0 AT pentiumii>
Subject: Re: statfs not returning correct cluster size
Date: Fri, 23 Nov 2001 21:13:18 +1100
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_0028_01C17463.AC18DF20
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Dennis,

I have added this to the list of issues with DJGPP and Win 2K / XP.=20

When did you download the GCC files? If it is in the last month then the =
stat code is up to date if my memory serves me when I built it. The =
updates since then don't toucb stat / fstat. lstat code changed last =
month so if you have the latest DJGPP files from clio then the LIBC.A =
file should be dated 5-Nov-2001.=20

Do you have a sample code you could email be directly so I can check it =
out? I won't be able to have a look until Sunday at the earliest.

Have you stepped through the code as per Eli's response?

Andrew
  ----- Original Message -----=20
  From: Dennis Louie=20
  To: djgpp-workers AT delorie DOT com=20
  Sent: Friday, November 23, 2001 4:58 PM
  Subject: statfs not returning correct cluster size


  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_0028_01C17463.AC18DF20
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>Dennis,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have added this to the list of issues =
with DJGPP=20
and Win 2K / XP. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When did you download the GCC files? If =
it is in=20
the last month then the stat code is up to date if my memory serves me =
when I=20
built it. The updates since then don't toucb stat / fstat. lstat code =
changed=20
last month so if you have the latest DJGPP files from clio then the =
LIBC.A file=20
should be dated 5-Nov-2001. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Do you have a sample code you could =
email be=20
directly so I can check it out? I won't be able to have a look until =
Sunday at=20
the earliest.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Have you stepped through the code as =
per Eli's=20
response?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Andrew</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Ddennis-louie AT att DOT net =
href=3D"mailto:dennis-louie AT att DOT net">Dennis=20
  Louie</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Ddjgpp-workers AT delorie DOT com=20
  =
href=3D"mailto:djgpp-workers AT delorie DOT com">djgpp-workers AT delorie DOT com</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, November 23, 2001 =
4:58=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> statfs not returning =
correct=20
  cluster size</DIV>
  <DIV><BR></DIV>
  <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=20
  XP 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,=20
  but statfs returns 32K for both.&nbsp; It also appears to be returning =

  incorrect values for f_blocks, even for disk sizes under 2GB.&nbsp; I =
seem to=20
  be getting 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 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=20
Louie</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0028_01C17463.AC18DF20--

- Raw text -


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