From owner-freebsd-current@FreeBSD.ORG Mon Feb 5 13:44:02 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 3430916A400 for ; Mon, 5 Feb 2007 13:43:57 +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 A644513C442 for ; Mon, 5 Feb 2007 13:43:56 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop ([194.30.196.125]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l15DgWS5026557 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 5 Feb 2007 15:42:40 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.13.8/8.13.8) with ESMTP id l15DgJFC002815; Mon, 5 Feb 2007 15:42:31 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.13.8/8.13.8/Submit) id l15DgIic002814; Mon, 5 Feb 2007 15:42:18 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 5 Feb 2007 15:42:18 +0200 From: Giorgos Keramidas To: Kevin Oberman Message-ID: <20070205134218.GD1571@kobe.laptop> References: <20070205003032.GC1583@kobe.laptop> <20070205044616.1E67045055@ptavv.es.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070205044616.1E67045055@ptavv.es.net> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.737, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.46, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: Neil Short , 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 13:44:02 -0000 On 2007-02-04 20:46, Kevin Oberman wrote: > > Date: Mon, 5 Feb 2007 02:30:32 +0200 > > From: Giorgos Keramidas > > Sender: owner-freebsd-current@freebsd.org > > > > 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? > > Maybe I do not understand what he is trying to do, but it looks like > it's easy. > > Use the -i option in the csup command line (not in the supfile) and > specify: > csup -L2 -i src/sys/dev/ath SUPFILE > > And you probably should use csup(1) from the base system instead if > cvsup from ports. Cool trick, thanks :) I didn't know of the -i option of csup(1).