working with pciutils-2.2.4

Danny Kukawka danny.kukawka at web.de
Mon Jun 18 13:13:00 PDT 2007


On Montag, 18. Juni 2007, Mike Frysinger wrote:
> On Monday 18 June 2007, David Zeuthen wrote:
> > On Sat, 2007-06-16 at 07:56 -0400, Mike Frysinger wrote:
> > > i looked through the history of the file (hald/ids.c) and going back to
> > > the pre-mmap commit and adding transparent support for reading a .gz
> > > file via zlib is trivial (since mmap obviously wont work), but i'd like
> > > to see what direction the code will actually go before spinning cycles
> > > on work that goes in a different direction and thus wont be accepted
> > > ;).
> >
> > Right, TBH I don't really see any point in using a gzipped pci.ids file
> > at all; it's a trade-off where you trade disk space for dirty memory
> > usage and as such it doesn't make sense on neither embedded nor desktop
> > systems since you're much more interested in keeping memory use down on
> > both such systems vs. saving around 300-400k of disk space...
>
> perhaps, but that's the direction pciutils has gone ... so something like
> "if pci.ids.gz exists, then decompress it into a cache file and mmap that"
> would be the direction for hal to go ?
> -mike

IMO this is not needed. I don't know how Fedora/RH handle this, but SUSE e.g. 
use the new pciutils package but unzip also the pci.ids and provide it in the 
rpm. Shouldn't be a problem to unzip the file while install the package. No 
need to to strange things in HAL for this.

Danny


More information about the hal mailing list