Go to file
rillig d8f5b04c09 tests: replace deprecated '-s eq:...' with '-s exit:...' 2024-04-28 07:27:40 +00:00
bin csh: replace malloc(x * y) and realloc(x * y) with reallocarray 2024-04-24 15:49:03 +00:00
common snprintb: reject empty bit descriptions and wrongly placed defaults 2024-04-07 15:20:16 +00:00
compat update my email address. 2024-02-04 05:43:05 +00:00
crypto libcrypto: Add expected symbol list to check at build-time. 2024-03-20 13:50:51 +00:00
dist/pf Don't write random data to the header. 2023-08-19 14:56:22 +00:00
distrib libstdc++: Add test for PR lib/58206, sync_with_stdio busted. 2024-04-28 01:21:26 +00:00
doc BUILDING: fix typo 2024-04-26 17:38:44 +00:00
etc libstdc++: Add test for PR lib/58206, sync_with_stdio busted. 2024-04-28 01:21:26 +00:00
external dri: disable lint 2024-04-26 17:22:26 +00:00
games Fix DEBUG build. 2024-04-02 14:24:26 +00:00
include Sync with tzcode2024a: 2024-02-17 14:54:47 +00:00
lib it's nanosleep(2), not nanosleep(3) 2024-04-22 21:25:29 +00:00
libexec Create mobile-friendly directory listings 2024-04-26 20:27:12 +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 {usr.,}{s,}bin: replace LINT_SUPPORTED with the standard NOLINT 2024-04-20 13:24:48 +00:00
share mention that we handle battery controls too. 2024-04-27 14:54:58 +00:00
sys Expose a sysctl interface hw.acpi.thinkpad<M>.bat[<N>].<behavior> to control 2024-04-27 14:50:18 +00:00
tests tests: replace deprecated '-s eq:...' with '-s exit:...' 2024-04-28 07:27:40 +00:00
tools elftoolchain: Be consistent about which ELF header files we use. 2024-04-01 18:33:22 +00:00
usr.bin make: fix comment about forcing a use-after-free 2024-04-27 21:26:23 +00:00
usr.sbin Add ${TOOL_DATE} (Jan-Benedict Glaw) 2024-04-26 22:07:32 +00:00
BUILDING BUILDING: fix typo 2024-04-26 17:38:44 +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 Switch to mesa 21 2024-04-23 03:25:39 +00:00
build.sh For consistency, check MKREPRO_TIMESTAMP always numerically (not as string) 2024-04-23 07:47:36 +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