Disk space used by a package?

Rodolfo J. Paiz rpaiz at simpaticus.com
Thu Oct 21 21:42:01 UTC 2004


Hey,

Is there any way I can find out authoritatively how much space a given
package takes up on disk when installed? The "size" parameter in "rpm -
qi" is not it, clearly.

Perhaps if I run "rpm -ql" and then feed that to some command that
counts bytes or inodes? I realize that there will be a rounding error
since each file must take up at least one inode on disk, but if I can
get inode-level (e.g. 4KB) precision then I'll be very happy indeed.

Thanks for any advice,

-- 
Rodolfo J. Paiz <rpaiz at simpaticus.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/test/attachments/20041021/7479147a/attachment.bin 


More information about the test mailing list