inotifyd: exit if x event happened for all files

fix FIONREAD parameter type
 fix default mask code
 shrink help text

function                                             old     new   delta
inotifyd_main                                        497     506      +9
packed_usage                                       25446   25431     -15
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 9/-15)              Total: -6 bytes
This commit is contained in:
Denis Vlasenko
2008-11-20 01:24:39 +00:00
parent 4ae1e13d3f
commit 9a4c0d59a7
2 changed files with 36 additions and 22 deletions

View File

@ -1838,16 +1838,11 @@
" ::shutdown:/sbin/swapoff -a\n"
#define inotifyd_trivial_usage \
"/user/space/agent dir/or/file/being/watched[:mask] ..."
"PROG FILE1[:MASK] ..."
#define inotifyd_full_usage "\n\n" \
"Run userspace agent on filesystem changes." \
"\nWhen a filesystem event matching the mask occurs" \
"\non specified file /user/space/agent is run" \
"\nwith the parameters:" \
"\n1. actual event(s)" \
"\n2. file name" \
"\n3. name of subfile (if any)" \
"\ninotifyd waits for agent to exit." \
"Run PROG on filesystem changes." \
"\nWhen a filesystem event matching MASK occurs on FILEn," \
"\nPROG <actual_event(s)> <FILEn> [<subfile_name>] is run." \
"\nEvents:" \
"\n a File is accessed" \
"\n c File is modified" \
@ -1865,6 +1860,9 @@
"\n y Subfile is moved out of dir" \
"\n n Subfile is created" \
"\n d Subfile is deleted" \
"\n" \
"\ninotifyd waits for PROG to exit." \
"\nWhen x event happens for all FILEs, inotifyd exits" \
#define insmod_trivial_usage \
USE_FEATURE_2_4_MODULES("[OPTION]... ") "MODULE [symbol=value]..."