[RULE] [Fwd: Re: Disk space used by a package?]
Rodolfo J. Paiz
rpaiz at simpaticus.com
Fri Oct 22 01:46:07 EEST 2004
-------- Forwarded Message --------
> From: Michael Schwendt <fedora at wir-sind-cool.org>
> Reply-To: For testers of Fedora Core development releases <fedora-
> test-list at redhat.com>
> To: For testers of Fedora Core development releases <fedora-test-
> list at redhat.com>
> Subject: Re: Disk space used by a package?
> Date: Fri, 22 Oct 2004 00:31:55 +0200
> On Thu, 21 Oct 2004 15:42:01 -0600, Rodolfo J. Paiz wrote:
>
> > 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,
>
> Untested whether the info in here is more accurate:
>
> rpm -q --qf "[%{fsnames} %{fssizes}\n]" PACKAGE
>
I'll test this out when I have some more time, but likely that will be
this weekend. Just as an FYI to Ingo and Marco who were also
interested...
Cheers,
--
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.hellug.gr/pipermail/rule-list/attachments/20041021/4c3ec3d0/attachment.pgp>
-------------- next part --------------
_______________________________________________
Original home page of the RULE project: www.rule-project.org
Rule-list at rule-project.org
http://mail.rule-project.org/mailman/listinfo/rule-list_rule-project.org
This full static mirror of the Run Up to Date Linux Everywhere Project mailing list, originally hosted at http://lists.hellug.gr/mailman/listinfo/rule-list, is kept online by Free Software popularizer, researcher and trainer Marco Fioretti. To know how you can support this archive, and Marco's work in general, please click here