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

Re: Bug#38139: [minor issue] Is this a bug or a feature?



On Sat, 22 May 1999, Torsten Landschoff wrote:

> By looking into the sources I noticed that FindPackages in
> apt-cdrom.cc returns immediately after finding a Packages file. This
> was my error - I had a Packages file in the root of the filesystem.
> Normally this should not happen but I think this is a (very small) bug
> anyway. FindPackages should look for a .disk directory first.

Yes, this is consistent with the definition of the Package files, they
describe the entire directy tree below themselves. By aborting quickly
like that it -greatly- speeds up searching on a CD because you no longer
have to stat every single .deb in all the binary-* directories.

I think the -a (--thorough) switches this off and makes it sweep
everything. (Yes?)

Jason


Reply to: