B19 - du command - erroneous size estima

BROGUIERE@TTM.thomson-csf.com BROGUIERE@TTM.thomson-csf.com
Wed Sep 16 02:43:00 GMT 1998


Small problem, probably easy to fix?
(win95 explorer can be used but require to click on each directory entry to 
get its size, "du -sk *" is easier ...)

Context:
 --------
Beta 19  installed on Windows 4.00.950

Bug:
 ----
Size indicated by the disk usage command "du" is wrong.
An example is given hereafter.
The error ratio (0.5 in the example) is not constant and therefore not 
predictible (range 0.6 to 0.8 for a real full directory).
Note that the size given by "ls" command is always coherent with Windows95 
Explorer display.

Example Trace:
 ------------------------
BASH.EXE-2.01$ pwd/users/gnu/lib
BASH.EXE-2.01$ uname -a
CYGWIN32_95 BROGUI+RE 4.0 19.0 i586 unknown
BASH.EXE-2.01$ ls -l
total 32-rw-r--r--   1 500      everyone    65168 Feb 26  1998 libiberty.a
BASH.EXE-2.01$ du -k *
32      libiberty.a
BASH.EXE-2.01$

Jean-Louis Broguiere
broguiere@thomson-csf.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list