Re: ISA slot detection on PCI systems?

H. Peter Anvin
2002-01-05T20:29:55Z

Dave Jones wrote:

> On Sat, 5 Jan 2002, Albert D. Cahalan wrote:
>
>
>>Of course, /proc/bus/pci contains forbidden binary files.
>>You're supposed to be happy with ASCII text, as found in
>>the /proc/pci file.
>>
>
> You miss the point. The point was that /proc/pci doesn't
> expose all of pci config space, whereas /proc/bus/pci does.
> The fact that it's binary instead of ascii is neither here nor there.
>

... and if you want to see something that's worse than either, check out
/proc/ide/hda/identify. Converting binary to hex doesn't aid in display
in any shape, way, or form; all it does is make it impossible to use
"dd" to do what I want, or from using my own hexdump tool.

Binary has a place, and "ASCII for ASCIIs sake" is just stupidity.

-hpa