Re: ISA slot detection on PCI systems?

Alan Cox
2002-01-02T22:41:05Z

> But you're thinking like a developer, not a user. The right question
> is which approach requires the lowest level of *user* privilege to get
> the job done. Comparing world-readable /proc files versus a setuid app,
> the answer is obvious. This sort of thing is exactly what /proc is *for*.

Both require the same level of user privilege.

cat /proc/wasteofmemory/dmi | dmidecoder
v
/sbin/dmidump | dmidecoder