On Tue, 2003-11-04 at 12:16, Bob Proulx wrote: > wsa wrote: [snip] > Also remember that du reports disk blocks used. A disk block will be > different sizes on different filesystems. This is not the same as the > disk space used. A three byte file takes up three bytes of used space > but fits in one (likely 512 byte frag) disk block. Again, this is > usually tuned by different filesystems and is one of the reasons > different filesystems have different performance.
This is one of the reasons why OpenVMS doesn't show how many bytes the file uses when you type $DIR/SIZE=ALL. It displays how many 512-byte blocks have been used, and more importantly, how many have been allocated, to each file. It's a stark reminder of how much waste there can be on big disk drives when you have lots of small files, or improperly closed files that allocate (but don't use) large chunks of disk, but don't release them after a "kill -9". -- ----------------------------------------------------------------- Ron Johnson, Jr. [EMAIL PROTECTED] Jefferson, LA USA "Man, I'm pretty. Hoo Hah!" Johnny Bravo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]