diff options
author | Karel Zak | 2008-09-06 14:54:01 +0200 |
---|---|---|
committer | Karel Zak | 2008-09-06 14:54:01 +0200 |
commit | 030d18fd2a75784359a970d0560446952575f024 (patch) | |
tree | 83c481dee176e2033f648dd45ee053d5a9e7e8d2 /sys-utils/ipcrm.1 | |
parent | ionice: let -p handle multiple PIDs (diff) | |
download | kernel-qcow2-util-linux-030d18fd2a75784359a970d0560446952575f024.tar.gz kernel-qcow2-util-linux-030d18fd2a75784359a970d0560446952575f024.tar.xz kernel-qcow2-util-linux-030d18fd2a75784359a970d0560446952575f024.zip |
ionice: add strtol() checks, cleanup usage text and man page
* cleanup usage() output
* check strtol(); don't ignore wrong command line options
The original ionice design was a little broken, because it was
possible to specify a PID and also a COMMAND:
ionice -c2 -p 123 /bin/foo
but the command /bin/foo was executed without requested scheduling
class. That's stupid behaviour.
Now you have to use "-p PID" **or** COMMAND, but not both. Nothing is
ignored and all options are checked.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/ipcrm.1')
0 files changed, 0 insertions, 0 deletions