Go to file
chs 28cd7476b4 fix ARC checks for available memory:
there's an extra check that we inherited from FreeBSD that tries to
detect KVA exhaustion on platforms with limited KVA, but the condition
that decided whether to use the extra check was using a FreeBSDism
that doesn't exist on NetBSD, resulting in this check being used on
all platforms.  on amd64 systems with lots of memory, this extra check
would result in the ARC thinking that it constantly needed to reclaim memory,
resulting in all the xcall threads running all the time but not doing
anything useful.  change this condition so that this extra check for
KVA exhaustion is only used on 32-bit platforms.  fixes PR 55707.
2022-05-04 15:49:55 +00:00
bin Introduce a new macro JNUM to replace the idiom jp-jobtab+1 2022-04-18 06:02:27 +00:00
common mips/cavium: Take advantage of Octeon's guaranteed r/rw ordering. 2022-04-21 12:06:31 +00:00
compat remove obsolete files. 2021-06-18 06:34:00 +00:00
crypto ipsec-tools: in lint mode, keep keyword 'inline' 2022-04-21 19:14:46 +00:00
dist/pf Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889. 2021-07-24 21:31:31 +00:00
distrib fix various typos, mainly s/trasfering/transferring/ and s/theese/these/. 2022-05-03 20:52:30 +00:00
doc doc/CHANGES: add indent(1), lint(1), make(1) 2022-05-03 22:12:54 +00:00
etc Like /etc/rc.d/network, add the ability to put a '!' character as the 2022-04-30 13:48:09 +00:00
external fix ARC checks for available memory: 2022-05-04 15:49:55 +00:00
extsrc
games fix various typos in comments and log messages. 2022-04-16 18:15:20 +00:00
include nameser_compat.h: simplify logic to determine byte order 2022-04-21 04:03:54 +00:00
lib * Don't redraw the background if the new background character is the 2022-05-03 07:25:34 +00:00
libexec fix various typos in comments. 2022-04-17 21:24:52 +00:00
regress fix various typos, mainly in comments, but also log messages, docs, game text. 2022-04-08 10:17:52 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin Fix endian bug also in commented out code 2022-04-26 15:11:42 +00:00
share tap.4: trim introduction to match current reality 2022-05-02 23:25:12 +00:00
sys Do not allocate mbuf clusters when the caller (eroneously) asks 2022-05-04 14:30:04 +00:00
tests Add mutt_test to the test runs, this test tries to emulate a real 2022-05-03 22:18:16 +00:00
tools Prepare the ground for <elfdefinitions.h> to be used by the 'tools' 2022-05-03 10:50:42 +00:00
usr.bin fix various typos, mainly s/trasfering/transferring/ and s/theese/these/. 2022-05-03 20:52:30 +00:00
usr.sbin usr.sbin/autofs: Fix absolute path when creating a mountpoint 2022-05-04 11:27:54 +00:00
BUILDING Rename: 2021-12-20 20:33:20 +00:00
Makefile Makefile: fix location of postinstall program for MAKEVERBOSE > 2 2022-03-19 14:35:13 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING s/dissallow/disallow/ 2021-12-07 21:45:31 +00:00
build.sh Don't try to install netbsd-CONFIG.debug files build with kernel= 2021-12-31 15:43:35 +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