Go to file
simonb 6e33305585 For vmstat -h/-H, calculate the hash element size correctly instead of
assuming that everything that isn't a list is a tailq.  Fixes random
reads from kmem that either fail or return incorrect data for the vcache
hash table.
2021-03-03 08:25:16 +00:00
bin PR/56007: Greg A. Woods: ksh unable to execute ERR traps 2021-02-23 01:31:30 +00:00
common arm bswap32: fix fatal typo in thumb code (PR 55854) 2020-12-11 09:02:33 +00:00
compat Use the compat machinery to build "native" IPF binaries as ipfilter 2021-01-05 11:07:59 +00:00
crypto merge conflicts 2021-02-20 03:22:13 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib and the html for rge(4)... 2021-03-01 21:01:39 +00:00
doc update some versions 2021-03-01 22:07:58 +00:00
etc require NETWORKING otherwise amd can come up before the network is up and 2021-03-01 23:02:30 +00:00
external Make this work with a non-standard LOCALBASE. 2021-03-01 15:40:40 +00:00
extsrc
games cgram: don't beep if the window is resized 2021-02-26 15:18:40 +00:00
include - Replace REG_ENOSYS (unused) with REG_ILLSEQ. 2021-02-23 17:14:42 +00:00
lib Merge tzcode-2021a 2021-03-01 04:42:14 +00:00
libexec libexec/httpd: fix cross-site scripting in Lua example 2021-02-28 16:10:00 +00:00
regress citrus SUBDIR is gone 2020-06-27 11:06:43 +00:00
rescue
sbin Make IEEE802.11 support optional 2021-03-01 16:47:48 +00:00
share Fix Dd, comment out OpenBSD-only page. 2021-03-01 18:14:05 +00:00
sys Opps....Remove irrelavent debug code and don't free_m before IFQ_DEQUEUE(). 2021-03-02 22:21:38 +00:00
tests Revert previous, 11th time failed after commit. Problem must be elsewhere. 2021-03-02 07:16:24 +00:00
tools Add reallocarray; this is used by the new regex code and we don't want to 2021-02-25 13:41:58 +00:00
usr.bin For vmstat -h/-H, calculate the hash element size correctly instead of 2021-03-03 08:25:16 +00:00
usr.sbin Adjust manpage for amiga/boot ver 3.1. 2021-02-25 03:44:27 +00:00
BUILDING Reintroduce the support of MKCATPAGES 2020-11-10 21:47:40 +00:00
Makefile G/c spurious whitespace. 2020-10-29 20:26:24 +00:00
Makefile.inc
README.md
UPDATING UPDATING: lint1/ops.c may require OBJDIR to be cleaned 2021-01-09 20:51:08 +00:00
build.sh Modify the generated make wrapper to avoid complaints about 2021-01-28 10:36:27 +00:00

README.md

NetBSD

NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices.

Building

You can cross-build NetBSD from most UNIX-like operating systems. To build for amd64 (x86_64), in the src directory:

./build.sh -U -u -j4 -m amd64 -O ~/obj release

Additional build information available in the BUILDING file.

Binaries

Testing

On a running NetBSD system:

cd /usr/tests; atf-run | atf-report

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P src

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/src.git