Go to file
riastradh fffd8cfe29 autoconf(9): Prevent concurrent attach/detach and detach/detach.
- Use config_pending_incr/decr around attach.  No need for separate
  flag indicating device is still attaching.  (dv_flags locking is also
  incoherent.)

- Any config_pending now blocks config_detach.

- New dv_detaching exclusive lock for config_detach.
2021-06-12 12:13:51 +00:00
bin use parsenum like everywhere else in the code. 2021-06-04 22:39:41 +00:00
common memmem: remove unreachable return statement 2021-05-16 09:43:39 +00:00
compat Good bye oabi! Tested building earmv7hf. 2021-06-07 17:11:16 +00:00
crypto Handle the compat builds and both the n64 and non n64 variants 2021-04-26 20:01:13 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Good bye oabi! Tested building earmv7hf. 2021-06-07 17:11:16 +00:00
doc PR toolchain/55837 2021-05-31 22:33:19 +00:00
etc Update LLVM build system for 249b40b558955afe5ac2b549edcf2d7f859c8cc9 2021-05-30 01:56:44 +00:00
external Whilst debugging the nbmakeinfo tool on an OpenBSD box, I noticed 2021-06-07 20:27:59 +00:00
extsrc
games SIGINFO is a useful tip 2021-06-04 11:18:31 +00:00
include Default to check-names for safety. 2021-04-30 16:07:49 +00:00
lib Add missing newline to debug trace message 2021-06-10 07:15:40 +00:00
libexec Don't use the return address hack with clang. 2021-05-30 02:26:08 +00:00
regress citrus SUBDIR is gone 2020-06-27 11:06:43 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin ping, ping6: fix comment about ID field 2021-06-11 18:47:56 +00:00
share Add a bugs section about inserting two cards with different requirements. 2021-06-11 05:10:45 +00:00
sys autoconf(9): Prevent concurrent attach/detach and detach/detach. 2021-06-12 12:13:51 +00:00
tests Unset ESCDELAY in libcurses test director to ensure consistent results 2021-06-10 07:21:07 +00:00
tools PR port-amiga/56188 2021-05-30 10:39:41 +00:00
usr.bin make: inline strcmp when parsing conditions 2021-06-11 14:52:03 +00:00
usr.sbin Don't overwrite changed autofs config files. 2021-06-07 05:29:22 +00:00
BUILDING Reintroduce the support of MKCATPAGES 2020-11-10 21:47:40 +00:00
Makefile G/c spurious whitespace. 2020-10-29 20:26:24 +00:00
Makefile.inc
README.md use libera.chat-hosted kiwiirc 2021-05-29 13:08:08 +00:00
UPDATING add a note about potential GCC 9->10 build failures 2021-04-17 04:08:32 +00:00
build.sh Good bye oabi! Tested building earmv7hf. 2021-06-07 17:11:16 +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