BSD libc "Port C library from the OpenBSD"
Last updated 2001-07-30 5:41 pm
Introduction
Feb. 6th, 2001
Wataru Nishida
![]() |
|||||||||||||||||||
|
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
How to get and update the OpenBSD source tree?
In contrast to Linux, OpenBSD project maintains an unified source tree including kernel, libraries, developmental tools, system utilities, and so on. All of the source lists are located under "src" directory, and you can create everything you need from it. By the way, let's get the source tree.
Get tarballs
You can get everything from anonymous CVS, but it takes too much time. So, I recommend you to get the latest snapshots by tarball files in CD-ROM or FTP sites.
void fdisk_reread(void)
- fdisk_disks and fdisk_partitions are already defined?
- free allocated memory blocks according to their linked-list.
Then extract src.tar.gz and srcsys.tar.gz at an appropriate directory (My case: /usr/src/openbsd/ and /usr/src/openbsd/src, respectively.).
CVS update
OpenBSD project provides anonymous CVS. You can keep your local source tree up to date at any time. Change into parent directory of "src" (My case: /usr/src/openbsd) and execute the following commands.
CVS access
cvs -d:pserver:anoncvs@anoncvs1.ca.openbsd.org:/cvs login (enter "anoncvs" as the password) cvs -z3 -d:pserver:anoncvs@anoncvs1.ca.openbsd.org:/cvs co -P srcNow you have the "current" source tree in you disk (At present, ./src requires 436MB disk space). It's really a treasure island, enjoy with me!