This is a fork of ionice
from util-linux
It's a drop-in replacement for ionice
in just 300 lines of C and under a single open source license.
ionice
.sstrip
).util-linux
uses several open source licenses across many different files. This fork is only based on files licensed under GPL2. tinyionice
is only GPL2 licensed.gcc -O2 -fPIC -fstack-protector-strong -D_GNU_SOURCE -s -z norelro main.c -o tinyionice
make
make
cxx
cxx tiny
As root
, with sudo
or doas
:
sudo install -Dm755 tinyionice /usr/bin/tinyionice
make
make install
The original source code of ionice
is dual-licenced under either GPL2:
Copyright (C) 2004 Jens Axboe <[email protected]>
Released under the terms of the GNU General Public License version 2
Or under No copyright is claimed. This code is in the public domain; do with it what you wish
:
Copyright (C) 2010 Karel Zak <[email protected]>
Copyright (C) 2010 Davidlohr Bueso <[email protected]>
No copyright is claimed. This code is in the public domain; do with it what you wish.
I wish to relicense all code under these terms as GPL2.
The changes made in 2021 and beyond are:
Copyright (C) 2021-2022 Alexander F. Rødseth <[email protected]>
Released under the terms of the GNU General Public License version 2
The entire code of tinyionice
is now released under GPL2.
The full license text is in the COPYING
file.