[CentOS] accurate file size

William L. Maltby CentOS4Bill at triad.rr.com
Sun Oct 14 19:11:57 UTC 2007


On Sun, 2007-10-14 at 16:30 -0400, centos at unixplanet.biz wrote:
> Hello
> 
> I was copying some files from one server to other,
> that I relized the total file size ( sum of all files )
> in one server is a bit more than the one that copied from
> ( about 6 when I do du -s )

That's not unusual. It's often the case that some partial blocks (e.g
block 4096, 1K used) exist on the source. Sometimes these are
consolidated to make more "full" blocks ase they are copied to someplace
else.

> 
> individual file sizes are identical, when I do one by one file
> comparison, but the sum is different.
> 
> is there any more accurate way to make sure of integrity of the file.
> ( other than pgp or signature )

md5sum?

> 
> Thanks
> <snip sig stuff>

--
Bill




More information about the CentOS mailing list