Subject: Re: Getting the device tree
To: Lennart Augustsson <lennart@augustsson.net>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-kern
Date: 01/02/2001 10:18:46
Lennart Augustsson wrote:

> [ sysctl to retrieve alldevs ]

Would we need to lock the alldevs list while it is being retrieved by
the sysctl (with similar locking in config_{attach,detach}?  Also, see
my message to tech-kern last November with the subject "sysctl handler
to return arrays" with some ideas for retrieving arrays and lists via
sysctls.

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD CDs, Support and Service:    http://www.wasabisystems.com/