Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What do the different /proc/bus/pci/0x directories represent?

Do they represent the different PCI/PCI-E sockets on a board?

If I have one mini pci and 2 PCI-E sockets on my board, should I be seeing 3 different '0x' directories under "/proc/bus/pci"?

share|improve this question
    
The /proc directory usually stores volatile files used by processes. That just might be a file used by a process that interfaces with your pci slot. Just a guess. – n0pe Jul 12 '11 at 13:12

Yes, that maps to your hardware, it exposes the PCI system data. But that interface is deprecated in favor of the /sys interface.

But you really should use the lspci command to find out about your devices, and not read those files directly.

share|improve this answer
up vote 0 down vote accepted

Answer from a friend - They represent PCI/PCI-E bridges present in the system. Usually each PCI slot is connected to a bridge - so it should show up in /proc/bus/pci. But its likely that /proc/bus/pci has more directories than PCI slots you can see

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .