Go to file
mlelstv 2d9177bfbe pathconf needs to return EINVAL when the variable is invalid
or cannot be associated with a file. This also needs to be true
when the node doesn't implement the pathconf function at all.
2023-12-11 12:42:18 +00:00
bin cat: repeat storage class 'static' for local functions 2023-12-10 15:31:53 +00:00
common s/miltiple/multiple/ in comment. 2023-12-07 07:10:44 +00:00
compat compat: Disable relro in 32-bit arm compat. 2023-05-13 10:56:54 +00:00
crypto Add option IPv6PreferTemporary to allow selection of 2023-12-01 12:07:19 +00:00
dist/pf Don't write random data to the header. 2023-08-19 14:56:22 +00:00
distrib Use defined ${GPTSECTORS} rather than hardcoded 2048. 2023-12-03 07:20:23 +00:00
doc gdb-14.1 out. 2023-12-09 16:32:20 +00:00
etc PR/57759: Hauke Fath: Restore local additions, lost in revision 1.104 2023-12-09 16:18:48 +00:00
external Update elfconstants.m4 to upstream [r4003]: 2023-12-09 19:42:41 +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 fix triple s typos in comments. 2023-12-08 21:46:02 +00:00
lib pathconf needs to return EINVAL when the variable is invalid 2023-12-11 12:42:18 +00:00
libexec ftpd: deduplicate gcc warning avoidance 2023-11-25 15:39:51 +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 Fix "ifconfig lagg* lagglacp -maxports" command 2023-12-06 05:57:39 +00:00
share stack(7): Fix diagram of non-main thread stacks. 2023-12-07 17:24:22 +00:00
sys fix format specifiers for OLDPRINTFS build option. 2023-12-10 23:19:12 +00:00
tests mmap() fails for size == 0 with EINVAL unless the mapping is anonymous. 2023-12-11 09:26:08 +00:00
tools tools/Makefile: Correct inverted comment. NFC 2023-11-30 06:29:33 +00:00
usr.bin skey(1): Fix documentation of `-x' to match implementation. 2023-12-11 02:08:26 +00:00
usr.sbin PR/57735: Jose Louis Duran: check if fts_read(3) had an error. 2023-12-02 13:34:48 +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 build.sh: add support for git worktree 2023-09-04 02:21:17 +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