'du' gives different results

From: ktn@dodo.com.au
Date: Tue Mar 23 2004 - 19:36:08 EST


Dear managers,

I'm really confused - hope someone can help. I did a 'du' on a directory and
it gives me about 3GB. But going into the directory and doing a 'du' for the
the many subdirectories in there gives about 2GB for each of the subdir,
that manually adds up to be much much more. This is on Solaris 9. When I
move the contents elsewhere however, they size starts to correspond to the
larger one. I do not know the details of these files, but if necessary let
me know what I should check on. Will summarise, thanks!

i.e.
webmaster:BACKUP> du -s -k -h .
2.7G .
webmaster:BACKUP> du -s -k -h *
1.7G Backup.23Mar2004_17:06:01
1.7G Backup.23Mar2004_19:06:01
1.7G Backup.23Mar2004_21:06:01
1.7G Backup.23Mar2004_23:06:01
1.7G Backup.24Mar2004_07:06:01
1.7G Backup.24Mar2004_09:06:01
31K MOST_RECENT
________________________________________________

Message sent using Dodo
Internet Webmail Server
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:20 EDT