Go to file
martin 0e7fb040fb Fix /tmp tmpfs handling and on machines with enough RAM default to
creating a /tmp tmpfs with 25% of ram size limit. Suggested by ad@.
2020-01-16 16:47:19 +00:00
bin Add file completion. 2020-01-12 18:42:41 +00:00
common Back out previous, it's broken. 2020-01-16 09:23:43 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto Find and set a version to a make(1) variable. 2019-12-17 00:17:00 +00:00
dist/pf grammar 2019-09-21 19:48:15 +00:00
distrib Document dlinfo(3) 2020-01-13 08:25:02 +00:00
doc add a note about arm* cpu topology support. 2020-01-15 09:21:21 +00:00
etc Revert the removal of filemon. 2019-12-23 06:45:36 +00:00
external Merge from yamt-pagecache (after much testing): 2020-01-15 17:55:43 +00:00
extsrc
games s/saftey/safety/ 2019-12-27 09:17:59 +00:00
include move P_tmpdir from "/var/tmp/" to "/tmp/". 2019-12-13 20:25:16 +00:00
lib Adjust the error return value of pthread_sigmask for !libpthread usage 2020-01-14 18:18:59 +00:00
libexec Use existing lo() and hi() macros. Same object code is generated. 2019-12-08 23:49:16 +00:00
regress Redo previous differently. 2019-11-23 20:37:49 +00:00
rescue 1. Remove all the special handling of variables (-d -p -P -s -S) that 2019-12-29 18:26:16 +00:00
sbin .include bsd.own.mk for ${NETBSDSRCDIR} 2020-01-14 23:13:36 +00:00
share Provide SIOCGIFMEDIA ioctl to deliver link status. 2020-01-16 12:56:39 +00:00
sys Initialize the session variable to an impossible session to prevent compiler 2020-01-16 15:29:24 +00:00
tests Hopefully fix some problems seen with MP support on non-x86, in particular 2020-01-08 17:38:41 +00:00
tools use the host compiler 2020-01-13 19:03:03 +00:00
usr.bin vmstat -s: report new stats: 2020-01-15 17:56:46 +00:00
usr.sbin Fix /tmp tmpfs handling and on machines with enough RAM default to 2020-01-16 16:47:19 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
Makefile Enhance the support of LLVM sanitizers 2019-08-27 22:48:53 +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 catch-up with more ports switched to gcc-8 2019-11-18 15:42:26 +00:00
build.sh Fix long-term broken pattern match when determining if uname -p output is 2019-06-07 15:49:20 +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