lkml.org 
[lkml]   [1998]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: /proc/pci, lspci etc.
Hello,

> Yes, but it is like saying that we don't need route or netstat -rn because there
> is /proc/net/route. The /proc/bus/pci/devices is good only if you know all ids
> by heart.

If we compare the situation to what we have with routing, we now get exactly
the same -- for routes you have /proc/net/route and the `route' command to
display it in human-readable format, for PCI you have /proc/bus/pci/devices
and lspci.

It's _really_ not sane to store table of all existing PCI devices in the
kernel along with their names. The era of just a few PCI devices where
/proc/pci was a possibility (although not a good one) is gone...

Have a nice fortnight
--
Martin `MJ' Mares <mj@ucw.cz> http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"IBM = International Band of Magicians"

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

\
 
 \ /
  Last update: 2005-03-22 13:45    [from the cache]
©2003-2011 Jasper Spaans