Mail Archives: djgpp-workers/2001/01/07/00:59:05
At 01:39 PM 1/1/01 +0100, Laurynas Biveinis wrote:
<Snipped>
>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:
<http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp-workers/2000/08/23/06:11:25>
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 <DIR> 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 <DIR> 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)
- Raw text -