[cs631apue] Marlon-HW#1
Jan Schaumann
jschauma at stevens.edu
Sat Sep 3 10:29:41 EDT 2016
Patrick Murray <pmurray1 at stevens.edu> wrote:
> When clicking on the source file (i.e. `cp.c`), NetBSD's website will
> display the version control log of that file (in descending order with
> respect to time). To view the source, you may click on the `download`
> link on the most recent comment. [0]
Alternatively, you can fetch the sources via FTP or CVS:
https://www.netbsd.org/docs/guide/en/chap-fetch.html#chap-fetch-tarball-netbsd-release
ftp -i ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-7.0.1/source/sets/
mget *.tgz
or
export CVSROOT="anoncvs at anoncvs.NetBSD.org:/cvsroot"
export CVS_RSH="ssh"
cvs checkout src
Both of these approaches do get your the _entire_ source tree for the
operating system. You can also checkout individual components of the
tree, if you prefer.
Getting familiar with a code revision control system such as CVS is a
good exercise and browsing around the source code of the OS is also
recommended.
-Jan
More information about the cs631apue
mailing list