Go to file
hannken e28265c95c - Make the fstrans mount info part of the per-lwp state and replace
most accesses to the mount with fstrans mount info.

- Add "fmi_gone" to be true after unmount and add a counter of
  outstanding mount infos so fstrans_clear_lwp_info() only runs
  if there may be something to do.

- Move lookup of base mounts into per-lwp state.

- Keep a list of valid mounts for DIAGNOSTIC checks.
2019-02-20 10:09:45 +00:00
bin DEBUG mode only change. When pretty-printing a word from a parse 2019-02-14 13:27:59 +00:00
common Export atomic_cas_32_ni in a similar manner to its 64-bit counterpart. 2019-02-20 05:25:12 +00:00
compat
crypto - bump buffer sizes to avoid potential truncation issues 2019-02-04 04:36:41 +00:00
dist/pf - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
distrib Document the netbsd-POWERMAC_G5 and netbsd-POWERMAC_G5.MP kernels. 2019-02-20 00:10:26 +00:00
doc Add an entry to remind someone(tm) to review the need for WARNS=3 in 2019-02-20 04:32:51 +00:00
etc Build the UP & SMP kernels for G5s to ease testing. 2019-02-19 23:46:33 +00:00
external Move fstrans_unmount() to vfs_rele(), just before it would free the mount. 2019-02-20 10:08:37 +00:00
extsrc
games add fallthrough 2019-02-18 19:35:44 +00:00
include Provide global variables with C linkage, otherwise they will create 2019-01-08 17:35:42 +00:00
lib appease string + int warning. 2019-02-18 20:27:20 +00:00
libexec - bump buffer sizes to avoid potential truncation issues 2019-02-04 04:36:41 +00:00
regress
rescue fix duplicated chunk from merge 2019-01-27 04:33:29 +00:00
sbin Make "gpt migrate" work for disks with FAT32 and NTFS partitions 2019-02-10 10:35:51 +00:00
share add X11MOTIFPATH and note that MKX11MOTIF needs motif installed. 2019-02-19 21:08:21 +00:00
sys - Make the fstrans mount info part of the per-lwp state and replace 2019-02-20 10:09:45 +00:00
tests Try to make load_invalid_value_bool portable to Big-Endian 2019-02-20 09:50:09 +00:00
tools don't pass --disable-symver to mknative configure. this turns off 2019-02-17 00:22:53 +00:00
usr.bin Typo in member variable name 2019-02-16 19:09:07 +00:00
usr.sbin ifwatchd(8): remove lingering references to dhclient(8). In this case, 2019-02-17 20:50:25 +00:00
build.sh add aliases for evbarm without saying 'earm': 2019-02-08 02:05:32 +00:00
BUILDING
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

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