This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

B19 - du command - erroneous size estima



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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]