Message-Id: <5.0.2.1.0.20010107003654.00aa44f0@pop5.banet.net> X-Sender: usbanet DOT farley3 AT pop5 DOT banet DOT net (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Sun, 07 Jan 2001 01:00:39 -0500 To: djgpp-workers AT delorie DOT com From: "Peter J. Farley III" Subject: Re: Fw: Patch for statfs.c Cc: Laurynas Biveinis , ceo AT nbensacomputers DOT com, Martin Str|mberg In-Reply-To: <3A507A90.1936F0D6@softhome.net> References: <200012302330 DOT AAA15721 AT father DOT ludd DOT luth DOT se> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 At 01:39 PM 1/1/01 +0100, Laurynas Biveinis wrote: >As others already have pointed out - I've posted a patch for fileutils >3.16 >to allow building with symlinks. Try this (ask me for the patch if you >don't >find it), and if it indeed reveals a bug in symlinks - then you'll >probably >win my postcard contest ;) Found your patch, Laurynas, and applied it to re-build fileutils 3.16, with no problems. For the sake of others, here is the pointer to that patch: FWIW, Martin's last version of statfs seems to report the same values as Win98 "Properties" for both CDRW and DVDROM on my Win98SE system. CHKDSK won't report on these drives in a DOS box on my system, says they are "networked" drives, so I can't report what CHKDSK says, and I don't have my plain DOS set up to recognize these drives right now. Here are the results from "dir /v" from a DOS box, y: is a DVD, z: is a CDRW. N:\>dir /v y: Volume in drive Y is EXCALIBUR_1 Volume Serial Number is AFF1-C159 Directory of Y:\ File Name Size Allocated Modified Accessed Attrib VIDEO_TS 07-22-99 5:58p 07-22-99 R DA VIDEO_TS 0 file(s) 0 bytes 1 dir(s) 0.00 MB free 6,572.21 MB total disk space, 100% in use N:\>dir /v z: Volume in drive Z is Corel Linux Volume Serial Number is 1511-7CA3 Directory of Z:\ File Name Size Allocated Modified Accessed Attrib CORELLIN 2 07-13-00 5:55p D CORELLINUX-1.2 VOLINFO TXT 333 07-13-00 5:55p R VOLINFO.TXT 1 file(s) 333 bytes 1 dir(s) 0 bytes free 333,709,312 bytes total disk space, 100% in use Here are the results from stock fileutils 3.16 df. The DVD value is different (much less) than the Win98 "Properties" value, and definitely wrong, the CDRW value is the same as the Win98 "Properties" value. N:\>df y: Filesystem 1024-blocks Used Available Capacity Mounted on EXCALIBUR_16X9_FF_NA 2097120 2097120 0 100% y:/ N:\>df z: Filesystem 1024-blocks Used Available Capacity Mounted on Corel Linux 1.2 Sources 325888 325888 0 100% z:/ Here are the results from rebuilding libc with Martin's version of statfs and then rebuilding fileutils 3.16. The CDRW is the same, and the DVD value agrees with the Win98 "Properties" value. O:\gnu\filutil3.16\src>df y: Filesystem 1024-blocks Used Available Capacity Mounted on EXCALIBUR_16X9_FF_NA 6729942 6729942 0 100% y:/ O:\gnu\filutil3.16\src>df z: Filesystem 1024-blocks Used Available Capacity Mounted on Corel Linux 1.2 Sources 325888 325888 0 100% z:/ HTH --------------------------------------------------------- Peter J. Farley III (pjfarley AT dorsai DOT org OR pjfarley AT banet DOT net)