Discussion:
bug#6288: gnuwin32 du fails at "C:\Program Files"
(too old to reply)
p***@hidglobal.com
2010-05-28 00:54:01 UTC
Permalink
On XP SP3, 12GB drive, du quits at (i.e., just before) my directory
"C:\Program Files\".

Command is just "du" given at root directory: "C:\>du{Enter}"

If the last directory before Program Files is "C:\oracle\" then the last
lines listed are like:

12345 ./oracle/foo
23456 ./oracle
34567 .

If I rename "oracle" to "Zoracle", then the last lines from du are like:

1234 ./MyProjects/bar
2345 ./MyProjects
3456 .

in other words, du lists directories up to, and not including, my Program
Files directory (in alphabetical order).

Is there any debug switch to enable, short of recompilation from source
with debug printfs?

C:\Program Files\gnu\gnuwin32>du --v
du (GNU coreutils) 5.3.0
Written by Torbjorn Granlund, David MacKenzie, Paul Eggert, and Jim
Meyering.

Peter F. Klammer, P.E.
Staff Engineer, Design
Denver Product Development

HID Global Corporation
10385 Westmoor Drive, Suite 300
Westminster, Colorado 80021
303 404 6740 (Office)
303 915 2673 (Mobile/Personal)
303 404 6888 (Fax)
***@HIDglobal.com
www.HIDglobal.com
Eric Blake
2010-05-28 12:42:17 UTC
Permalink
Post by p***@hidglobal.com
On XP SP3, 12GB drive, du quits at (i.e., just before) my directory
"C:\Program Files\".
In general, questions about tools ported to windows are better directed
to the place where you got the tools, rather than upstream, since
windows includes its own set of porting pitfalls.
Post by p***@hidglobal.com
C:\Program Files\gnu\gnuwin32>du --v
du (GNU coreutils) 5.3.0
That's quite old. Perhaps you would be interested in trying cygwin,
where coreutils 8.5 has been ported. I have not had any problems using
the cygwin port of coreutils in running things like du.
--
Eric Blake ***@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
Assaf Gordon
2018-10-30 04:49:37 UTC
Permalink
tags 6288 moreinfo
close 6288
stop

(triaging old bugs)
Post by Eric Blake
Post by p***@hidglobal.com
On XP SP3, 12GB drive, du quits at (i.e., just before) my directory
"C:\Program Files\".
In general, questions about tools ported to windows are better directed
to the place where you got the tools, rather than upstream, since
windows includes its own set of porting pitfalls.
Post by p***@hidglobal.com
C:\Program Files\gnu\gnuwin32>du --v
du (GNU coreutils) 5.3.0
That's quite old. Perhaps you would be interested in trying cygwin,
where coreutils 8.5 has been ported. I have not had any problems using
the cygwin port of coreutils in running things like du.
With no further comments in 8 years,
I'm closing this bug.

-assaf

Continue reading on narkive:
Loading...