Re: how to get just a small section of code?

From: Giorgos Keramidas <keramida_at_ceid.upatras.gr>
Date: Mon, 5 Feb 2007 15:42:18 +0200
On 2007-02-04 20:46, Kevin Oberman <oberman_at_es.net> wrote:
> > Date: Mon, 5 Feb 2007 02:30:32 +0200
> > From: Giorgos Keramidas <keramida_at_ceid.upatras.gr>
> > Sender: owner-freebsd-current_at_freebsd.org
> >
> > On 2007-02-03 14:58, Neil Short <neshort_at_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).
Received on Mon Feb 05 2007 - 12:44:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:05 UTC