Re: /proc/pci deprecation?

From: Petr Vandrovec (vandrove@vc.cvut.cz)
Date: Sat Dec 07 2002 - 13:52:52 EST


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.
                                                        Petr Vandrovec
                                                        vandrove@vc.cvut.cz
-
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 : Sat Dec 07 2002 - 22:00:30 EST