[CentOS] accurate file size

Peter Kjellstrom cap at nsc.liu.se
Mon Oct 15 05:42:50 UTC 2007


On Sunday 14 October 2007, 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 )

No one has yet to say this straight out. "du -s" does _not_ show the sum of 
filesizes. As the name implies (DiskUsage) shows the amount of disk space 
needed to store the file (which is typically the filesize + some small 
amount).

/Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.centos.org/pipermail/centos/attachments/20071015/2487fa0a/attachment.sig>


More information about the CentOS mailing list