From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 25 04:14:46 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97C1A16A4CE for ; Fri, 25 Feb 2005 04:14:46 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CF4C43D1D for ; Fri, 25 Feb 2005 04:14:45 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id j1P4Ed1T074755; Fri, 25 Feb 2005 14:44:39 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: "M. Warner Losh" Date: Fri, 25 Feb 2005 14:44:27 +1030 User-Agent: KMail/1.7.92 References: <421E7867.9060101@samsco.org> <200502251348.06818.doconnor@gsoft.com.au> <20050224.204433.46658352.imp@bsdimp.com> In-Reply-To: <20050224.204433.46658352.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1169957.ZoKzpebqRW"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200502251444.35329.doconnor@gsoft.com.au> X-Spam-Score: -5.1 () IN_REP_TO,MIME_LONG_LINE_QP,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: freebsd-hackers@freebsd.org Subject: Re: Driver Update Disk discussion X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2005 04:14:46 -0000 --nextPart1169957.ZoKzpebqRW Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Fri, 25 Feb 2005 14:14, M. Warner Losh wrote: > : I think PORTS_MODULES is a little suboptimal.. > > How so? If you upgrade your ports tree and then rebuild your kernel you may upgrade= a=20 port KLD without wanting to. > : Fx5200 Go). It also means that the kernel build/install does not result > : in non kernel things being altered. > > How do your patches work? http://www.dons.net.au/~darius/port-kld.diff http://www.dons.net.au/~darius/port-makefile.txt (Rename the later to Makefile and put it in /usr/local/kld) It hooks into /usr/src/sys/modules/Makfile and looks for module directories= to=20 build in a certain directory. It [is supposed to] acts like another=20 subdirectory of /usr/src/sys/modules. > Do they work with multiple kernel trees?=20 I am pretty sure it does but I haven't explicitly tested it - certainly the= =20 source directory doesn't get dirtied by builds. > I guess I'm a little unclear why this is better or worse than > PORTS_MODULES. I guess I'm missing the explicit step, since I only > ever update the parts of my ports tree that I'm upgrading with > portupgrade. Ahh.. I NFS mount my ports tree between a bunch of machines they all have=20 WRKDIRPREFIX, and the ports tree is updated each day using cvsup. I don't think this is an uncommon setup but I don't have any evidence. > : Also speaking of KLD ports.. I really wish they wouldn't install > : into /boot/modules (I patch so they don't) as it is a really good way to > : shoot yourself in the foot during an upgrade :( > > Usually this is only a problem when tracking or jumping to current, > but I understand... Yeah usually, but I have had it happen in -stable too (very rare). Even so = it=20 can be a pretty big waste of time as a developer when you're tracking=20 current ;) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1169957.ZoKzpebqRW Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBCHqYr5ZPcIHs/zowRAvgCAJ92ghcRO7uwfg2fQaFWh8VHdS8awwCfXUvP C9YLjRLEoMA7xtnMaDzP9k0= =pZjT -----END PGP SIGNATURE----- --nextPart1169957.ZoKzpebqRW--