Re: Size of a du index for packages (Complete index = 74 K)
Raul Miller <firstname.lastname@example.org> writes:
> Brederlow <email@example.com> wrote:
> > I have generated a complete du index for all packages via a small bash
> > The packages.n files contain only n level of subdirectories and are
> > therefore slightly smaler.
> Hmm... if we could affort the space, we could provide a number of
> options, so people who always mount from the root directory don't have
> to download the stuff that people with more arcane requirements require.
Come on, 74 K is nearly nothing. Compare that to xbook (15 MB).
> Also, if we could afford the time, we could build the raw information
> simply by scanning existing package files. [Which strikes me as the
> right way to do it.]
It took about 15 minutes going trough all packages here. The server
could scan each incomming package and put the info somewhere,
overwriting/deleting the old info. Then it could 'cat <somewhere>/* |
gzip -9 >du-of-all-packages', which should take hardly any time.
May the Source be with you.
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com