working with pciutils-2.2.4

Mike Frysinger vapier at gentoo.org
Mon Jun 18 12:39:36 PDT 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/hal/attachments/20070618/fc528193/attachment.pgp 


More information about the hal mailing list