how to get just a small section of code?

Kevin Oberman oberman at es.net
Mon Feb 5 04:59:03 UTC 2007


> 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.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070205/9043fa57/attachment.pgp


More information about the freebsd-current mailing list