From: david@ods.com (David Engel) Subject: Re: ``du'' reports double the real disk usage. Hmmm. Date: Wed, 3 Jun 1992 02:23:55 GMT
joel@wam.umd.edu (Joel M. Hoffman) writes:
: I've noticed that ``du'' (and, for that matter, ls -l) report double
: the actual disk usage. Is this a bug or are they reporting 512K units?
No bug. Posix requires du to report 512-byte blocks. You can make it
report 1024-byte (1k) blocks with -k. I have it aliases in my .bashrc
like this: alias du='du -k $*'.
David
-- David Engel Optical Data Systems, Inc. david@ods.com 1101 E. Arapaho Road (214) 234-6400 Richardson, TX 75081