Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NetBSD support. #632

Open
wants to merge 5 commits into
base: 4.x
Choose a base branch
from
Open

Add NetBSD support. #632

wants to merge 5 commits into from

Conversation

0-wiz-0
Copy link

@0-wiz-0 0-wiz-0 commented Jan 13, 2023

This mostly follows the support provided for FreeBSD,
with some additional fixes.
The result was used to start a MariaDB instance on NetBSD successfully.

In one case, follow Solaris instead.
Following NetBSD man page recommendatsion to first truncate
and then use posix_fallocate. Recognize NetBSD errno if the function
is not supported by the file system.
NetBSD's implementation does not support setting a priority for
SCHED_OTHER. The same is (was?) documented for the Linux one (as of
2.6 though).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant