Re: /proc/pci deprecation?

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Mon Dec 09 2002 - 05:14:39 EST


On Sun, 8 Dec 2002, Erik Hensema wrote:
> Petr Vandrovec (vandrove@vc.cvut.cz) wrote:
> > On Sat, Dec 07, 2002 at 02:14:24PM +0100, Tomas Szepe wrote:
> >> > > IMO, yes, since those tools provide the summary, and exist almost purely in
> >> > > userspace. I forgot to mention in the orginal email that we could also drop
> >> > > the PCI names database, right? This would save a considerable amount in the
> >> > > kernel image alone..
> >> >
> >> > If you want, make it user configurable like it was during 2.2.x. But
> >> > I personally prefer descriptive names and system overview I can parse
> >> > without having mounted /usr to get working lspci.
> >>
> >> Actually I'm inclined to insist that lspci belong in /sbin. Really. :)
> >
> > Try it. At least on Debian it is useless without name database, which lives in
> > /usr/share/misc/pci.ids... I can read numbers directly from /proc/bus/pci, if
> > I want numbers.
>
> Hmmmm, on SuSE 8.0 too. I consider this a bug. Or at least a misfeature.
> Binaries in /bin and /sbin should not need anything from /usr.

Originally pci.ids was in /etc/.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Dec 15 2002 - 22:00:14 EST