thedark Second Lieutenant
Joined: 30 Jul 2005
Posts: 1074
|
Posted: Thu Aug 04, 2005 11:18 am Post subject: Getting the kernel source via cvs |
|
|
The kernel source should be in '/usr/src/sys' but if it isn't there then you've forgotten
to install it.
You can get the latest one via CVS:
Set CVSROOT to :pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs :
root@host:/#export CVSROOT=:pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs
Now go to the dir where you would like to put the source and type:
root@host:/tmp/cvstrail#cvs checkout src/sys
to get the entire kernel source. If you'll have to enter a password: it is 'anoncvs'.
If you want to put the source imediatly in the correct directory do this:
root@host:/#cd /usr
root@host:/usr#cvs checkout src/sys |
|