Go to file
martin 39a2427725 PR 55058: force the boot partition to sd0d, so our root partitions becomes
sd0a again.
2023-01-06 18:14:56 +00:00
bin More markup errors. \+ was intended to be \&+ and .EV .Ev of course. 2022-12-20 17:51:54 +00:00
common Fix some comments 2022-12-03 11:34:38 +00:00
compat fix various typos in comments and log messages. 2022-05-29 10:47:39 +00:00
crypto Correct lost change in the merge (Anthony Mallet) 2022-12-01 22:57:37 +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 Turn on -z separate-code for x86, like linux has done. This splits the text 2023-01-06 15:47:38 +00:00
doc Now that the default page size is 4K again for x86_64 with the binutils 2023-01-06 15:48:29 +00:00
etc fix hexprint function 2022-12-28 19:23:02 +00:00
external we don't copy ldscripts for i386 (why though?) 2023-01-06 17:06:33 +00:00
games PR/57164: Greywolf: Add -y to cribbage to keep playing without asking 2023-01-06 17:13:46 +00:00
include scandir(3) and alphasort(3) are part of POSIX-2008, so don't require 2022-12-28 11:51:21 +00:00
lib Add errc() and verrc() to the list of functions which do not return, 2023-01-05 15:13:57 +00:00
libexec Remove the limitation of only being able to load binaries with 2 PT_LOAD 2023-01-06 15:33:47 +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 remove threads; size constraints and behavioral change 2022-05-16 14:55:56 +00:00
sbin Change getdiskinfo() to no longer infer the partition from the device name. 2023-01-02 16:08:13 +00:00
share Now that the default page size is 4K again for x86_64 with the binutils 2023-01-06 15:48:29 +00:00
sys Explicitly set -z noseparate-code because the default is about to change 2023-01-06 15:35:05 +00:00
tests tests/lint: remove obsolete comments 2023-01-04 06:04:07 +00:00
tools fix the binutils build with read-only source trees 2022-12-31 05:44:25 +00:00
usr.bin PR/57166: John Dundas: Correct error code byte order in error message 2023-01-06 17:18:56 +00:00
usr.sbin PR 55058: force the boot partition to sd0d, so our root partitions becomes 2023-01-06 18:14:56 +00:00
BUILDING fix documentation for MKLINT 2022-10-01 08:55:45 +00:00
Makefile Deprecate extsrc/, EXTSRCSRCDIR, MKEXTSRC 2022-08-21 07:10:03 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING Restore backward compatibility of UFS2 with previous NetBSD releases by 2022-11-17 06:40:38 +00:00
build.sh build.sh: usage improvements 2022-08-21 07:57:50 +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