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.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
martin b6098d10dc If we can not fit a planned partition, retry with a bit more slope 2 weeks ago
bin Add a fallback definition of LSDEAD in ps(1) 2 months ago
common Introduce UBSAN_ALWAYS_FATAL in micro-UBSan 2 months ago
compat make all lines look the same, and put one arch per line. 2 months ago
crypto Remove superfluous Li; rename section to match standards. 3 weeks ago
dist/pf - enlarge buffer to avoid snprintf() truncation 6 months ago
distrib Avoid using an unitialized variable 2 weeks ago
doc Add ena(4). 2 weeks ago
etc PR kern/53590: remove -U DEBUG from config(1) invocation (that is: revert r1.413). DTrace needs the full symbol information. 2 weeks ago
external Add translators for \v and \a per posix. 2 weeks ago
extsrc Top level reach-over directory for extsrc. 9 years ago
games The mother of all demos 3 weeks ago
include Sync with 2019b (field name change) 1 month ago
lib Sprinkle some more const in. 2 weeks ago
libexec Tweak markup some more. 1 month ago
regress Eliminate regress/libexec/ld.elf_so/expand 4 months ago
rescue fix duplicated chunk from merge 6 months ago
sbin Remove outdated note about sysinst restrictions 3 weeks ago
share SGIs from the MIPS & ARM world :) 3 weeks ago
sys Use unsigned in rtk_setmulti() to avoid undefined behavoir. Found bk kUBSan. 2 weeks ago
tests PR/54414: Valery Ushakov: add a test for wcsrtombs(3) doesn't update the source argument on conversion error 3 weeks ago
tools Bring back two lines deleted by accident. From Kamil Rytarowski. 1 month ago
usr.bin Explicitly link against libpthread and liblzma to make static linking happy. Newer libarchive supports LZMA compression in zip files. 3 weeks ago
usr.sbin If we can not fit a planned partition, retry with a bit more slope in size. 2 weeks ago
BUILDING Fix a typo 3 months ago
Makefile Use the generated "postinstall" in the objdir for postinstall-check 2 months ago
Makefile.inc Re-add files that were accidentally deleted in my previous commit. 1 year ago
README.md Tidy up a bit. 10 months ago
UPDATING Note update hickup build issue for uefi boot. 3 weeks ago
build.sh Fix long-term broken pattern match when determining if uname -p output is 2 months ago

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

Additional Links