how to get just a small section of code?

Giorgos Keramidas keramida at ceid.upatras.gr
Mon Feb 5 00:32:42 UTC 2007


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?

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 :)



More information about the freebsd-current mailing list