Date: Sun, 26 Sep 1999 18:34:07 +0930 From: Greg Lehey <grog@lemis.com> To: Dag-Erling Smorgrav <des@flood.ping.uio.no> Cc: Brian Somers <brian@FreeBSD.org>, 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> In-Reply-To: <xzpyadvxqk8.fsf@flood.ping.uio.no>; from Dag-Erling Smorgrav on Sat, Sep 25, 1999 at 11:56:23AM %2B0200 References: <199909220040.RAA43511@freefall.freebsd.org> <xzpyadvxqk8.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, 25 September 1999 at 11:56:23 +0200, Dag-Erling Smorgrav wrote: > Brian Somers <brian@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990926183406.I46202>