delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
From: | "Buhl, Josh" <josh DOT buhl AT sdm DOT de> |
To: | "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> |
Message-ID: | <AD8FC377A842D411B1A300508BD6ACA7792613@bnexch1.bn.sdm.de> |
Subject: | RE: 1.3.3 on WINNT 4.0SP6: du reports disk usage incorrectly by f |
acto r one half | |
Date: | Fri, 5 Oct 2001 17:30:47 +0200 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2653.19) |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id f95FVlg04270 |
Hello Christopher, thanks for replying. Sorry if I didn't describe the behaviour correctly. I wasn't refering to a problem with the block size, but rather with the total reported value. If a file is, say, 16000 bytes long, then du reports it using only 8 Kb of space. Here's an example: bash-2.04$ ls -alF total 47 drwxr-xr-x 2 Administ Kein 4096 Oct 5 15:23 ./ drwxr-xr-x 13 Administ Kein 4096 Oct 5 15:13 ../ -rw-r--r-- 1 Administ Kein 14189 Jun 11 20:16 Makefile -rw-r--r-- 1 Administ Kein 12264 Jun 11 20:11 Makefile.in -rw-r--r-- 1 Administ Kein 13604 May 25 10:35 Moon.c -rw-r--r-- 1 Administ Kein 15996 Jun 11 19:39 glunarclock.c -rw-r--r-- 1 Administ Kein 634 Jun 9 09:04 glunarclock.h -rw-r--r-- 1 Administ Kein 15869 May 25 10:35 moondatadialog.c -rw-r--r-- 1 Administ Kein 1103 May 25 10:35 moondatadialog.h -rw-r--r-- 1 Administ Kein 10872 May 28 20:43 moonproperties.c -rw-r--r-- 1 Administ Kein 330 May 25 10:35 moonproperties.h bash-2.04$ du -ab 8.0k ./glunarclock.c 512 ./glunarclock.h 7.0k ./Makefile 6.0k ./Makefile.in 7.0k ./Moon.c 8.0k ./moondatadialog.c 1.0k ./moondatadialog.h 5.5k ./moonproperties.c 512 ./moonproperties.h 45k . -----Ursprüngliche Nachricht----- Von: Christopher Faylor [mailto:cygwin AT cygwin DOT com] I can't duplicate this behavior. My version of du.exe reports block sizes in 1024 increments. Maybe you need to upgrade your fileutils. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |