Re: /proc/pci deprecation?

Erik Hensema (usenet@hensema.xs4all.nl)
Sun, 8 Dec 2002 12:30:00 +0000 (UTC)


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.

-- 
Erik Hensema <erik@hensema.net>
-
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/