Go to file
cnst 0f59c4847a mpt(4): remove ENOTTY / noop implementation of bio(4) setstate
* All other bio(4) drivers either do or don't implement each command.

* This changes the returned error code, but it does not seem to matter,
  as some bio(4) drivers always return ENOTTY in the default case, whilst
  others always return EINVAL (e.g., both cac(4) and ciss(4) for setstate).
2019-05-08 06:32:01 +00:00
bin When a return occurs in the test part of a loop statement (while/until) 2019-05-04 02:52:55 +00:00
common Use posix_madvise() rather than the legacy madvise() call, and 2019-05-08 04:34:33 +00:00
compat - various updates for GCC 7 riscv definitions: -mabi and -march changed 2019-04-18 10:07:07 +00:00
crypto one more noreturn 2019-04-28 14:45:13 +00:00
dist/pf - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
distrib Add installboot(8) support for evbarm (and, in the future, other evb*) 2019-05-07 05:02:41 +00:00
doc add more 2019-05-08 01:08:18 +00:00
etc Add installboot(8) support for evbarm (and, in the future, other evb*) 2019-05-07 05:02:41 +00:00
external Cleanup modules "solaris" and "zfs": 2019-05-07 08:51:09 +00:00
extsrc
games Report the users score _after_ the game has ended and the screen has 2019-03-19 00:11:34 +00:00
include Don't install YP headers when MKYP=no 2019-04-24 10:26:08 +00:00
lib Make CLEANFILES actually work. .TARGET is not defined when not in a target 2019-05-07 18:45:37 +00:00
libexec r_symndx is no longer declared, use symnum and initialize it before use. 2019-04-15 19:13:03 +00:00
regress Eliminate regress/libexec/ld.elf_so/expand 2019-04-06 16:25:52 +00:00
rescue fix duplicated chunk from merge 2019-01-27 04:33:29 +00:00
sbin Sort SEE ALSO. 2019-05-08 06:10:30 +00:00
share Fix typo. 2019-05-08 06:09:51 +00:00
sys mpt(4): remove ENOTTY / noop implementation of bio(4) setstate 2019-05-08 06:32:01 +00:00
tests fix unused variable warnings. 2019-05-06 00:08:13 +00:00
tools Fix building libprop as a host tool library on platforms that don't have 2019-05-08 02:25:50 +00:00
usr.bin You don't have to be _LP64 to run 32 bit binaries. You can be mips (64 bit 2019-05-06 19:20:13 +00:00
usr.sbin Fix typos. Fix link. Use Pa for path. 2019-05-07 08:14:59 +00:00
BUILDING regen 2018-07-29 20:53:41 +00:00
Makefile .WAIT for tools to complete. 2018-11-11 07:43:35 +00:00
Makefile.inc
README.md Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING add a quick note about gcc 7 likely causing update build failures. 2019-02-08 09:57:01 +00:00
build.sh on netbsd when defaulting to the native system, also derived MACHINE_ARCH 2019-05-02 02:51:01 +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