[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Size of a du index for packages (Complete index = 74 K)

Raul Miller <rdm@test.legislate.com> writes:

> Brederlow <goswin.brederlow@student.uni-tuebingen.de> 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 debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: