Go to file
tkusumi 37b6bcc115 dm: Make targets' ->secsize() optional
and make a caller assume secsize 0 if ->secsize not present.
This allows a dummy function to be removed which was added in
"dm: Add dummy target ->sync()/->secsize() to prevent panic on modload(8)".
2019-12-15 09:42:29 +00:00
bin Correct a typo in a comment, 08x0 was meant to be 0x80 (duh!). NFC. 2019-12-10 09:18:37 +00:00
common Formalize that the printf formats should be uintmax_t so we can 2019-12-06 19:36:21 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto need pfilter.h 2019-12-07 16:38:42 +00:00
dist/pf grammar 2019-09-21 19:48:15 +00:00
distrib PR/54768: elo: Missing cksum(1) convenience links (and docs) for new sha2 2019-12-15 03:55:56 +00:00
doc new acpica 2019-12-14 16:57:48 +00:00
etc This script just makes sure that the ZFS module loads and unloads, mountall 2019-12-09 00:11:32 +00:00
external Handle NULL params, fix error paths. 2019-12-14 09:05:30 +00:00
extsrc
games Introspection. From "Surely You're Joking, Mr. Feynman!" 2019-12-03 22:42:29 +00:00
include move P_tmpdir from "/var/tmp/" to "/tmp/". 2019-12-13 20:25:16 +00:00
lib Redo previous more conventionally. Requested by kre@. 2019-12-11 20:19:27 +00:00
libexec Use existing lo() and hi() macros. Same object code is generated. 2019-12-08 23:49:16 +00:00
regress Redo previous differently. 2019-11-23 20:37:49 +00:00
rescue Remove ldconfig from /rescue, and mark it MI obsolete. 2019-10-02 09:45:10 +00:00
sbin PR/54756: germain: Avoid confusion caused by overuse of the word "file" both 2019-12-14 20:46:13 +00:00
share PCBC 2019-12-14 13:36:14 +00:00
sys dm: Make targets' ->secsize() optional 2019-12-15 09:42:29 +00:00
tests Adjust tests for 0 hex values printing 0 instead of 0x0 2019-12-08 17:37:16 +00:00
tools Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) 2019-11-11 22:44:56 +00:00
usr.bin bump date 2019-12-15 04:50:28 +00:00
usr.sbin Pass proper track size when initializing the default alignment - this is 2019-12-14 20:41:58 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
Makefile Enhance the support of LLVM sanitizers 2019-08-27 22:48:53 +00:00
Makefile.inc
README.md Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING catch-up with more ports switched to gcc-8 2019-11-18 15:42:26 +00:00
build.sh Fix long-term broken pattern match when determining if uname -p output is 2019-06-07 15:49:20 +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