David Odin <[EMAIL PROTECTED]> writes:
> On Thu, Apr 26, 2001 at 11:30:50AM -0400, David Relson wrote:
> > At 10:23 AM 4/26/01, you wrote:
> > >Guillaume Cottenceau <[EMAIL PROTECTED]> writes:
> > >
> > > >
> > > > [gc@bi ~] urpmf host | grep "/host$"
> > > > bind-utils:/usr/bin/host
> > >
> > >(chmou@giants)[~]-% urpmf "/host$"
> > >bind-utils:/usr/bin/host
> > >
> > >works also....
> >
> >
> > Chmouel,
> >
> > Given a filename, rpmdrake used to tell you which package contained it. It
> > was a really useful feature which doesn't seem to be there now. What happened?
> >
> Why are you asking Chmouel about this?
>
> This feature has disappeared because of the way rpmdrake has to deals with
> packages informations. In Linux-Mandrake 7.2, all the informations where stored
> in memory, and so a search was possible. In Linux-Mandrake 8.0, the informations
> are stored in the so-called hdlist, and access to these is very slow.
That's why urpmf is so slow, for example "urpmf '/dig$'" take 2.8 sec on a PIII
730MHz with IDE disk to search through whole cooker distribution (about 280000
files, so 100000 files per second). Of course if you take a P60, it would take
much more time.
> Anyway, this feature will certainly reappear soon.
As soon as all hdlist will go in memory (approximately 22.2 MB instead of 8.7MB
in .cz format) it would be much better, provided it is not stored in swap.
Fran�ois.