Go to file
hannken 72cdecc56a Add missing zvol_close() to zfsdev_close().
Change zvol_size_changed() to initialize "zv->zv_volsize"
and initialize only "dg_secsize" and "dg_secperunit".
Calling disk_set_info() will initialize the remaining
parts of the geometry.

Set "doread" in zvol_strategy() to make reading from
device possible.

Reorganize/add disk_busy()/disk_unbusy() instrumentation.

Redo zvol_ioctl() to implement DIOCGWEDGEINFO and let
disk_ioctl() process the remaining ioctls.
2019-05-22 08:46:27 +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 Fix bug, the computation of cpuset_nentries was incorrect, we must do +1 2019-05-11 11:53:55 +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 experimental userland interface to IPMI driver. Currently, transactions 2019-05-18 08:38:00 +00:00
doc Note initial 9P2000.u support 2019-05-22 02:25:28 +00:00
etc Add experimental userland interface to IPMI driver. Currently, transactions 2019-05-18 08:38:00 +00:00
external Add missing zvol_close() to zfsdev_close(). 2019-05-22 08:46:27 +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 Back out incorrect fix for PR 53617 and fix it in a different way. 2019-05-20 22:17:41 +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 Allow to use KCOV + kASan together 2019-05-22 08:31:25 +00:00
sys Allow to use KCOV + kASan together 2019-05-22 08:31:25 +00:00
tests unexpand 2019-05-21 04:10:20 +00:00
tools sync with arm. 2019-05-20 18:24:57 +00:00
usr.bin Sort options in usage. 2019-05-19 09:14:13 +00:00
usr.sbin All MSRs can only be read at privilege level 0. The exact APIC ID cannot 2019-05-21 05:29:21 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +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