Go to file
tkusumi ea24dc8dcc dm: Add dm-delay target
Ported from DragonFlyBSD, but this target had originally existed in
Linux kernel. See below for details.
https://www.kernel.org/doc/Documentation/device-mapper/delay.txt

Due to "tick" in hz(9) not working (which results in dmdlthread spinning
forever in _submit_queue() without dp extracted from delayed list
and queued into submit list), this hasn't been hooked to dm.kmod yet.

taken-from: DragonFlyBSD
2020-01-05 08:08:26 +00:00
bin Use fork() rather than vfork() when forking to run a background 2019-12-21 18:54:15 +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 Find and set a version to a make(1) variable. 2019-12-17 00:17:00 +00:00
dist/pf grammar 2019-09-21 19:48:15 +00:00
distrib upstream_kernel=1 is required with new firmware/kernel. 2020-01-01 14:16:51 +00:00
doc Note import of dhcpcd-8.1.5 2020-01-03 12:41:26 +00:00
etc Revert the removal of filemon. 2019-12-23 06:45:36 +00:00
external Sync 2020-01-03 12:39:18 +00:00
extsrc
games s/saftey/safety/ 2019-12-27 09:17:59 +00:00
include move P_tmpdir from "/var/tmp/" to "/tmp/". 2019-12-13 20:25:16 +00:00
lib PR lib/54510 - when user supplied completion function is there, 2020-01-05 07:12:05 +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 1. Remove all the special handling of variables (-d -p -P -s -S) that 2019-12-29 18:26:16 +00:00
sbin fix printing capabilities and enabled flags. 2020-01-02 23:02:19 +00:00
share Break line after macro ends; add article 2020-01-01 20:13:19 +00:00
sys dm: Add dm-delay target 2020-01-05 08:08:26 +00:00
tests s/inital/initial/ 2019-12-27 09:25:57 +00:00
tools Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) 2019-11-11 22:44:56 +00:00
usr.bin check of signal number of was backwards. 2020-01-04 22:22:34 +00:00
usr.sbin fstyp: Cleanup hammer2.c (sync with recent DragonFly commit) 2020-01-04 03:43:18 +00:00
BUILDING
Makefile Enhance the support of LLVM sanitizers 2019-08-27 22:48:53 +00:00
Makefile.inc
README.md
UPDATING catch-up with more ports switched to gcc-8 2019-11-18 15:42:26 +00:00
build.sh

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