ColinIanKing / stress-ng

This is the stress-ng upstream project git repository. stress-ng will stress test a computer system in various selectable ways. It was designed to exercise various physical subsystems of a computer as well as the various operating system kernel interfaces.
https://github.com/ColinIanKing/stress-ng
GNU General Public License v2.0
1.82k stars 290 forks source link

--full: /dev/full is no longer Linux specifc #426

Closed chrfranke closed 2 months ago

chrfranke commented 2 months ago

Currently --full is only enabled if defined(__linux__). At least recent FreeBSD and NetBSD also provide /dev/full.

Cygwin also emulates /dev/null. The stressor works there as expected if the HAVE_PREAD detection is removed (the Cygwin DLL provides the pread() function, but implements it only for regular files).

PS: Cygwin package is now available: https://cygwin.com/packages/summary/stress-ng.html

ColinIanKing commented 2 months ago

Thanks for this information. Fix committed:

commit 8c31a7b95604a962faebc9abfa4cd703fd19859b (HEAD -> master, origin/master, origin/HEAD) Author: Colin Ian King colin.i.king@gmail.com Date: Mon Sep 16 15:10:24 2024 +0100

stress-full: enable of Solaris, FreeBSD and NetBSD