Go to file
mlelstv ab1ad50d80 Don't use the signal handler to terminate when nothing is to do (count=0, files=0).
The signal handler tries to raise the signal again, so that a parent can retrieve
the signal from the exit code. Calling the terminate handler with signal code 0
doesn't raise a signal and dd continues with exit(127) making this case an error.
2024-01-26 07:10:04 +00:00
bin Don't use the signal handler to terminate when nothing is to do (count=0, files=0). 2024-01-26 07:10:04 +00:00
common Catch up with revision 1.5 of atomic_init_cas.c. Fixes building libc 2024-01-21 03:42:08 +00:00
compat compat: Disable relro in 32-bit arm compat. 2023-05-13 10:56:54 +00:00
crypto Merge conflicts between 9.5 and 9.6 2023-12-20 17:15:20 +00:00
dist/pf Don't write random data to the header. 2023-08-19 14:56:22 +00:00
distrib add missing mtree subdir and it's Atffile. 2024-01-25 01:43:58 +00:00
doc space -> tab cleanup 2024-01-24 21:04:08 +00:00
etc mtree(8): Test the installed sets. 2024-01-25 00:30:57 +00:00
external risc-v: Add bwfm(4) firmware files to release image 2024-01-20 08:09:13 +00:00
games Drop -O[01] hacks for vax; no longer necessary for patched GCC 10 2023-10-07 12:15:49 +00:00
include It seems that we need prototypes for long double math functions, even 2024-01-22 14:01:50 +00:00
lib add the script I used to convert the FreeBSD code. 2024-01-24 04:14:07 +00:00
libexec use header decl of __fork() 2024-01-19 19:21:34 +00:00
regress s/multipies/multiplies/. 2023-12-06 22:23:11 +00:00
rescue remove threads; size constraints and behavioral change 2022-05-16 14:55:56 +00:00
sbin blkdiscard: avoid asserting when passed a bsd disklabel raw device 2024-01-25 02:42:17 +00:00
share style: Fix typo, NFC 2024-01-24 04:00:43 +00:00
sys wm(4): Print RX packet buffer size. 2024-01-26 03:23:36 +00:00
tests tests/usr.bin/mtree: xfail PR 57877; omit needless debug print. 2024-01-26 00:32:46 +00:00
tools Add virt68k headers. 2024-01-03 03:18:31 +00:00
usr.bin Note that in both :U and :D newval may be empty 2024-01-25 21:00:59 +00:00
usr.sbin evbppc: Add initial support for the Nintendo Wii 2024-01-20 21:35:59 +00:00
BUILDING BUILDING: list known mk.conf vars. tweak section headers 2023-07-22 18:50:04 +00:00
Makefile Makefile: Run `postinstall -d /', not `postinstall -d //'. 2023-09-08 12:01:56 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING UPDATING: fix a couple of spelling mistakes 2023-09-24 16:33:41 +00:00
build.sh Add virt68k to valid_MACHINE_ARCH. 2024-01-03 02:48:45 +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