From owner-freebsd-current@FreeBSD.ORG Mon Feb 5 00:32:42 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A26916A400 for ; Mon, 5 Feb 2007 00:32:42 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id CBC9313C481 for ; Mon, 5 Feb 2007 00:32:41 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (dialup107.ach.sch.gr [81.186.70.107]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l150UboQ011079 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 5 Feb 2007 02:30:49 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id l150UXKV002105; Mon, 5 Feb 2007 02:30:34 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id l150UWFD002104; Mon, 5 Feb 2007 02:30:32 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 5 Feb 2007 02:30:32 +0200 From: Giorgos Keramidas To: Neil Short Message-ID: <20070205003032.GC1583@kobe.laptop> References: <390579.85512.qm@web56505.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <390579.85512.qm@web56505.mail.re3.yahoo.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.751, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.45, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-current@freebsd.org Subject: Re: how to get just a small section of code? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Feb 2007 00:32:42 -0000 On 2007-02-03 14:58, Neil Short wrote: > I have been watching the /src/sys/dev/ath/ code - for improvements > that will help prevent my ath device from timing out on my laptop > (almost certainly a hardware problem; but maybe a software > workaround). > > When there are updates, how might I set up my cvsup file to collect > just the stuff in /src/sys/dev/ath/ ? There is no easy way to do this with CVSup, AFAIK. Even if you do manage to get only 3-4 files out of a specific CVSup collection, how will you verify that you have *all* the necessary updates to *all* the affected files? You can probably hack a local CURRENT kernel, to merge only the ath(4) updates if you keep a local CVS mirror of src/ around, but this is very likely to be a lot of work. You would have to be careful to watch out for any updates to other parts of the kernel too, on which ath(4) may depend. You will, effectively, have to keep a local src/sys branch. This is not impossible, and it's precisely what FreeBSD kernel developers do every day. I'm just saying that you should know what you are going to be into, if you go down that path :)