[HPADM] Why du command shows different?

From: shahul.hameed@uktransco.com
Date: Thu Jan 30 2003 - 05:25:49 EST


Hi

I have two boxes. Everyday I am copying a full directory structure from
Box1 to Box 2. Before copying, I am removing the full directory structure
from Box2. Now my doubt is when I run du -sk <directory name> shows
different values. The number of files, number sub directories, size of each
file are same in both the boxes. then why du shows different? is it
something to do with not freed inode? Can someone explain me, what exactly
du does?

TIA
Shahul Hameed
Unix Fix On Fail
Transco
Ext Ph 0145589 2227
Int Ph 715 32227

Unless expressly stated to the contrary, the views expressed in this email
are not necessarily the views of National Grid Transco plc or any of its
subsidiaries or affiliates (Group Companies), and the Group Companies,
their directors, officers and employees make no representation and accept
no liability for its accuracy or completeness.

This e-mail, and any attachments are strictly confidential and intended for
the addressee(s) only. The content may also contain legal, professional or
other privileged information. If you are not the intended recipient, please
notify the sender immediately and then delete the e-mail and any
attachments. You should not disclose, copy or take any action in reliance
on this transmission.

You may report the matter by calling us on + 44(0) 1455 230999

Please ensure you have adequate virus protection before you open or detach
any documents from this transmission. The Group Companies do not accept
any liability for viruses. An e-mail reply to this address may be subject
to monitoring for operational reasons or lawful business practices.

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:25 EDT