This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
B19 - du command - erroneous size estima
- To: gnu-win32 at cygnus dot com
- Subject: B19 - du command - erroneous size estima
- From: BROGUIERE at TTM dot thomson-csf dot com
- Date: 16 Sep 1998 11:43:20 +0200
- Autoforwarded: false
- X400-MTS-Identifier: [/PRMD=THOMSON/ADMD=ATLAS/C=FR;980916094320]
- X400-Received: by /PRMD=THOMSON/ADMD=ATLAS/C=FR; relayed; 16 Sep 1998 11:43:20 +0200
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".