diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-20 01:24:39 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-11-20 01:24:39 +0000 |
commit | 9a4c0d59a79efeba4e1c5feed7d07b7c6b6b04ce (patch) | |
tree | 666efa8898107af6d15d3b910e5e2459dbea5c33 /include | |
parent | 4ae1e13d3f4716a35acf6186f5485e53da39829d (diff) | |
download | busybox-w32-9a4c0d59a79efeba4e1c5feed7d07b7c6b6b04ce.tar.gz busybox-w32-9a4c0d59a79efeba4e1c5feed7d07b7c6b6b04ce.tar.bz2 busybox-w32-9a4c0d59a79efeba4e1c5feed7d07b7c6b6b04ce.zip |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/include/usage.h b/include/usage.h index 9c0c9d761..5223e9e18 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1838,16 +1838,11 @@ | |||
1838 | " ::shutdown:/sbin/swapoff -a\n" | 1838 | " ::shutdown:/sbin/swapoff -a\n" |
1839 | 1839 | ||
1840 | #define inotifyd_trivial_usage \ | 1840 | #define inotifyd_trivial_usage \ |
1841 | "/user/space/agent dir/or/file/being/watched[:mask] ..." | 1841 | "PROG FILE1[:MASK] ..." |
1842 | #define inotifyd_full_usage "\n\n" \ | 1842 | #define inotifyd_full_usage "\n\n" \ |
1843 | "Run userspace agent on filesystem changes." \ | 1843 | "Run PROG on filesystem changes." \ |
1844 | "\nWhen a filesystem event matching the mask occurs" \ | 1844 | "\nWhen a filesystem event matching MASK occurs on FILEn," \ |
1845 | "\non specified file /user/space/agent is run" \ | 1845 | "\nPROG <actual_event(s)> <FILEn> [<subfile_name>] is run." \ |
1846 | "\nwith the parameters:" \ | ||
1847 | "\n1. actual event(s)" \ | ||
1848 | "\n2. file name" \ | ||
1849 | "\n3. name of subfile (if any)" \ | ||
1850 | "\ninotifyd waits for agent to exit." \ | ||
1851 | "\nEvents:" \ | 1846 | "\nEvents:" \ |
1852 | "\n a File is accessed" \ | 1847 | "\n a File is accessed" \ |
1853 | "\n c File is modified" \ | 1848 | "\n c File is modified" \ |
@@ -1865,6 +1860,9 @@ | |||
1865 | "\n y Subfile is moved out of dir" \ | 1860 | "\n y Subfile is moved out of dir" \ |
1866 | "\n n Subfile is created" \ | 1861 | "\n n Subfile is created" \ |
1867 | "\n d Subfile is deleted" \ | 1862 | "\n d Subfile is deleted" \ |
1863 | "\n" \ | ||
1864 | "\ninotifyd waits for PROG to exit." \ | ||
1865 | "\nWhen x event happens for all FILEs, inotifyd exits" \ | ||
1868 | 1866 | ||
1869 | #define insmod_trivial_usage \ | 1867 | #define insmod_trivial_usage \ |
1870 | USE_FEATURE_2_4_MODULES("[OPTION]... ") "MODULE [symbol=value]..." | 1868 | USE_FEATURE_2_4_MODULES("[OPTION]... ") "MODULE [symbol=value]..." |