Subject: print configuration utility?
To: None <current-users@NetBSD.ORG>
From: Ron Roskens <roskens@cs.umn.edu>
List: current-users
Date: 09/18/1996 12:27:10
A few days ago, Andrew Gillham mailed in a script to check for
hardware configuration differences between reboots. The script
made use of dmesg. There was discussion on how to specifically
find the most current configuration of the system. I did some
kernel delving and have come across information that could make
this a whole lot simpler.

The current auto-configurable kernels seem to store all device
information in a queue. If you iterate over this queue, you know
all the devices configured on the system. With a little programming
you could come up with a "print configuration" command.

Comments?

Ron Roskens
--
U of MN - CS, ACM SysAdmin 	| Life is a simulation of reality.	
email:roskens@cs.umn.edu	| http://www.cs.umn.edu/~roskens/