ionice: new applet, adapted from Linux kernel' example by Walter Harms

text    data     bss     dec     hex filename
1050316     924   10952 1062192  103530 busybox_old
1050758     924   10952 1062634  1036ea busybox_unstripped
This commit is contained in:
Denis Vlasenko
2009-01-31 21:45:57 +00:00
parent 802cab15e5
commit 4acdb46ff1
5 changed files with 117 additions and 1 deletions

View File

@ -1932,7 +1932,7 @@
/* -v, -b, -c are ignored */
#define install_trivial_usage \
"[-cdDsp] [-o USER] [-g GRP] [-m MODE] [source] dest|directory"
"[-cdDsp] [-o USER] [-g GRP] [-m MODE] [source] dest|directory"
#define install_full_usage "\n\n" \
"Copy files and set attributes\n" \
"\nOptions:" \
@ -1948,6 +1948,14 @@
"\n -Z Set security context" \
)
#define ionice_trivial_usage \
"[-c 1-3] [-n 0-7] [-p PID] [PROG]"
#define ionice_full_usage "\n\n" \
"Change I/O scheduling class and priority\n" \
"\nOptions:" \
"\n -c Class. 1:realtime 2:best-effort 3:idle" \
"\n -n Priority" \
/* would need to make the " | " optional depending on more than one selected: */
#define ip_trivial_usage \
"[OPTIONS] {" \