Go to file
chs 55aacd0e65 Commit the ZFS file that I forgot in this previous commit:
Move the handling of PG_PAGEOUT from uvm_aio_aiodone_pages() to
uvm_page_unbusy() so that all callers of uvm_page_unbusy() don't need to
handle this flag separately.  Split out the pages part of uvm_aio_aiodone()
into uvm_aio_aiodone_pages() in rump just like in the real kernel.
In ZFS functions that can fail to copy data between the ARC and VM pages,
use uvm_aio_aiodone_pages() rather than uvm_page_unbusy() so that we can
handle these "I/O" errors.  Fixes PR 55702.
2020-11-15 00:54:13 +00:00
bin Print real maxrss value like other shells. 2020-10-17 08:46:02 +00:00
common Use the correct barriers - all of membar_{sync,producer,consumer} have 2020-10-13 21:22:12 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto eliminate direct use of _res for threaded programs. 2020-11-12 19:43:18 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Use "efi" boot image platform ID. 2020-11-15 00:19:17 +00:00
doc Note better kern.maxfiles defaults. 2020-11-12 12:19:46 +00:00
etc Add /var/games/warp 2020-11-11 19:56:09 +00:00
external Commit the ZFS file that I forgot in this previous commit: 2020-11-15 00:54:13 +00:00
extsrc
games Avoid common symbols. Use __dead. 2020-11-12 22:23:16 +00:00
include - remove bitypes.h fossil 2020-10-10 19:51:48 +00:00
lib ossaudio(3): Clone some useful behaviour from the Solaris kernel 2020-11-13 09:02:39 +00:00
libexec New sentence, new line. Fix xref. 2020-10-15 09:54:22 +00:00
regress citrus SUBDIR is gone 2020-06-27 11:06:43 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin file systems that are used as what spools? 2020-10-24 10:51:34 +00:00
share Add "x86" to Dt 2020-11-14 20:04:46 +00:00
sys Improve dump_trapframe output layout and fix printing of s6/s7 2020-11-14 13:05:14 +00:00
tests PR 55338: re-enable threxec test for more test coverage. 2020-11-08 08:54:50 +00:00
tools Correct target directory; src/external/gpl3/gdb.old not gdb. 2020-10-09 23:48:42 +00:00
usr.bin make(1): switch cache for realpath from GNode to HashTable 2020-11-14 23:03:08 +00:00
usr.sbin Add "efi" as a supported boot image type and derive the platform ID for 2020-11-15 00:18:48 +00:00
build.sh add "distsets" alias for "distribution sets". 2020-09-20 10:29:05 +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 Use first-level heading for "NetBSD" title in README.md 2020-01-10 12:33:28 +00:00
UPDATING note about mips kernel modules breaking update builds 2020-10-17 07:41:25 +00:00

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