From owner-cvs-all Sun Sep 26 2: 4:27 1999 Delivered-To: cvs-all@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id 585E414C4A; Sun, 26 Sep 1999 02:04:18 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id SAA97137; Sun, 26 Sep 1999 18:34:07 +0930 (CST) Date: Sun, 26 Sep 1999 18:34:07 +0930 From: Greg Lehey To: Dag-Erling Smorgrav Cc: Brian Somers , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/ppp bundle.c id.c id.h Message-ID: <19990926183406.I46202@freebie.lemis.com> References: <199909220040.RAA43511@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Dag-Erling Smorgrav on Sat, Sep 25, 1999 at 11:56:23AM +0200 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Saturday, 25 September 1999 at 11:56:23 +0200, Dag-Erling Smorgrav wrote: > Brian Somers writes: >> Log: >> Do a kldload() if we get ENXIO trying to open /dev/tun0 > > Hmm, we should have a mechanism for querying the kernel about the > presence or absence of a specific driver. Maybe a sysctl hierarchy > that lists installed drivers and attached devices (and maybe even > detected but unattached devices). (BTW, that would allow us to > implement something like Windows' device manager, which is actually > quite a cool concept) This is what modfind does. Take a look at the beginning of main() in /usr/src/sbin/vinum/v.c. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message