Go to file
rillig dfa14757fe games/caesar: fix error handling for I/O
The '!= 0' is needed for an upcoming fix to lint's strict bool mode.

The additional text in the error messages is necessary because errx only
outputs the given string, with no details from errno.  Since ferror does
not set errno, no such details are available, so just output a generic
message, which is still better than just "caesar: <stdout>".
2021-11-16 20:42:47 +00:00
bin Make pwd (both /bin/pwd and the /bin/sh built-in version) check for 2021-11-16 16:57:15 +00:00
common fix few typos in comments and log message. 2021-11-14 20:51:57 +00:00
compat remove obsolete files. 2021-06-18 06:34:00 +00:00
crypto Merge conflicts between OpenSSH 8.7 and 8.8 2021-09-27 17:03:13 +00:00
dist/pf Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889. 2021-07-24 21:31:31 +00:00
distrib Add man pages for posix_spawn_file_actions_add{f,}chdir from piyush 2021-11-15 14:01:50 +00:00
doc evbarm: Add support for Rockchip RK3288 SoCs. 2021-11-12 22:02:49 +00:00
etc Set the path unconditionally to what rc sets it to, so that when running 2021-11-06 23:11:43 +00:00
external xorg: sprinkle a little bit of USE_FORT around 2021-11-16 09:25:51 +00:00
extsrc
games games/caesar: fix error handling for I/O 2021-11-16 20:42:47 +00:00
include Commit the userland portion of the posix_spawn_chdir project by Piyush Sachdeva 2021-11-07 14:34:30 +00:00
lib More cleanups and typo corrections. 2021-11-15 16:00:25 +00:00
libexec getty: Remove 2 second sleep before opening tty 2021-10-12 23:40:38 +00:00
regress introduce a SOL_LOCAL for unix-domain socket level socket options 2021-08-08 20:54:48 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin s/endianess/endianness/ 2021-11-10 17:19:29 +00:00
share Remove mb_map. 2021-11-16 05:16:47 +00:00
sys Trailing whitespace 2021-11-16 06:58:33 +00:00
tests lint: fix wrong error message in strict bool mode 2021-11-16 18:27:04 +00:00
tools Make dtc on riscv 2021-11-14 15:48:02 +00:00
usr.bin lint: remove outdated comment 2021-11-16 18:37:24 +00:00
usr.sbin Explain cd9660 and udf exceptions on the rule that the default sectorsize is 2021-11-12 07:41:55 +00:00
BUILDING Reintroduce the support of MKCATPAGES 2020-11-10 21:47:40 +00:00
Makefile G/c spurious whitespace. 2020-10-29 20:26:24 +00:00
Makefile.inc
README.md README: use https for man.NetBSD.org 2021-09-05 12:45:44 +00:00
UPDATING UPDATING: note dts update causing things to be renumbered 2021-11-14 11:16:28 +00:00
build.sh remove duplicate the article in comments. 2021-10-04 21:02:39 +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