Re: Hardware Inventory [was: Re: ISA slot detection on PCI systems?]

Dave Jones (davej@suse.de)
Fri, 4 Jan 2002 22:17:29 +0000


On Fri, Jan 04, 2002 at 12:32:48PM +0100, Martin Knoblauch wrote:
> seeing this thread - is there any serious work being spend on something
> like "hinv" on IRIX, which gives you a *complete* listing of your
> hardware? I have seen some attempts at shell and perl scripts, but none
> of them really is trustworthy.

When devicefs is ready (or more to the point, the drivers become
devicefs aware), something to the effect of ls -R /devices
should be possible.

If we have ACPI fill out the tree, it enumerates pretty much
every device you have in the system, and half dozen you probably
didn't know you had.

Dave.

-- 
Dave Jones.                    http://www.codemonkey.org.uk
SuSE Labs.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/