From owner-freebsd-questions Tue Jun 13 13:47:59 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 0777937C0A8 for ; Tue, 13 Jun 2000 13:47:51 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #2) id 131xWy-000Mit-00; Tue, 13 Jun 2000 21:43:28 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #7) id 131xWy-000JJ7-00; Tue, 13 Jun 2000 21:43:28 +0100 Date: Tue, 13 Jun 2000 21:43:28 +0100 From: Ben Smithurst To: Jack Wang Cc: freebsd-questions@freebsd.org Subject: Re: load driver for FreeBSD Message-ID: <20000613214328.I74118@strontium.scientia.demon.co.uk> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="FCKy2vjPBX+S/5dE" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --FCKy2vjPBX+S/5dE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Jack Wang wrote: > If I ahve a new written driver, to be loaded on rebooting the FreeBSD, > what are the files I need to change so when rebooting the FreeBSD > will loaded the driver If the driver is a loadable module, you can just put "kldload your_module" in /etc/rc.local. Or you could compile it permanently into your kernel, but specifying extra files to include in a kernel build is a bit more complicated, I think. Better to stick with the KLD route. --=20 Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D --FCKy2vjPBX+S/5dE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: 6cXhy68qOCau6OmH3nV6CgNM7XRpiw0d iQCVAwUBOUac7ysPVtiZOS99AQEuCAP/fgRp5MNiV/Ho5XPVlxT/rlg3TYtqdyvJ hGNaXT/F1YWYtEt2GSEx1L/Fzh2C5+EZUU0UKcT6pXgf/HH2IagJJX9e9igqHEa/ C4ZPVqvgP4eG7CMv/jdQx3Yz+rseNAuaRTMdAs6/k+zhekAwob7ikvNDdBKjzoRJ ThaL+iOcHRg= =kqK3 -----END PGP SIGNATURE----- --FCKy2vjPBX+S/5dE-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message