Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Feb 2007 15:42:18 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Kevin Oberman <oberman@es.net>
Cc:        Neil Short <neshort@yahoo.com>, freebsd-current@freebsd.org
Subject:   Re: how to get just a small section of code?
Message-ID:  <20070205134218.GD1571@kobe.laptop>
In-Reply-To: <20070205044616.1E67045055@ptavv.es.net>
References:  <20070205003032.GC1583@kobe.laptop> <20070205044616.1E67045055@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2007-02-04 20:46, Kevin Oberman <oberman@es.net> wrote:
> > Date: Mon, 5 Feb 2007 02:30:32 +0200
> > From: Giorgos Keramidas <keramida@ceid.upatras.gr>
> > Sender: owner-freebsd-current@freebsd.org
> >
> > On 2007-02-03 14:58, Neil Short <neshort@yahoo.com> 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).




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070205134218.GD1571>