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

> 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 <>
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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:45    [W:0.061 / U:15.584 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site