Eternal 'good file hashes' list

Ralf Ertzinger fedora at
Tue Oct 20 11:44:07 UTC 2009


On Tue, 20 Oct 2009 14:18:03 +0300 (EEST), Panu Matilainen wrote:

> To make any use of that data you'll obviously need the file names
> too, so:
> [pmatilai at localhost Packages]$ rpm -qap --qf "[%{filedigests} %{filenames}\n]" *.rpm |wc
>  430716  804104 47467960

That has to be databased somehow, probably compressed... hm.
Might not turn out all that bad spacewise.

> ...but rpm stores paths indexed by directory, storing flat paths as 
> returned by %{filenames} wastes tonnes of space. Also note that 
> directories and symlinks dont have associated hashes. And of course 
> there's a whole lot more metadata that you need to take into account
> when verifying: user+group, permissions, symlink targets etc.

So basically the RPM file content without the actual file contents,

More information about the devel mailing list