diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-24 20:47:18 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-24 20:47:18 +0000 |
commit | 8e2c9e1518d42320ebd4b3ff09220d79a199e8ff (patch) | |
tree | ee565d0dbcbca18b33720aabc334d55ee39151da /include/usage.h | |
parent | e94a87134d2c78d3a1df39605d1f30d928a592a5 (diff) |
inotify: new applet by Vladimir Dronnikov <dronnikov AT gmail.com>
function old new delta
inotifyd_main - 453 +453
packed_usage 24246 24450 +204
inotify_add_watch - 47 +47
inotify_init - 29 +29
mask_names - 13 +13
signal_handler 130 140 +10
applet_names 1859 1868 +9
applet_main 1132 1136 +4
applet_nameofs 566 568 +2
signalled 1 2 +1
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h index a1e489453..a4fe6a7e0 100644 --- a/include/usage.h +++ b/include/usage.h @@ -1833,6 +1833,30 @@ " ::shutdown:/bin/umount -a -r\n" \ " ::shutdown:/sbin/swapoff -a\n" +#define inotifyd_trivial_usage \ + "/user/space/agent dir/or/file/being/watched[:mask] ..." +#define inotifyd_full_usage "\n\n" \ + "Spawn userspace agent on filesystem changes." \ + "\nWhen a filesystem event matching the mask occurs" \ + "\non specified file/directory an userspace agent is spawned" \ + "\nwith the parameters:" \ + "\n1. actual event(s)" \ + "\n2. file/directory name" \ + "\n3. name of subfile (if any), in case of watching a directory" \ + "\n" \ + "\n a File is accessed" \ + "\n c File is modified" \ + "\n e Metadata changed" \ + "\n w Writtable file is closed" \ + "\n 0 Unwrittable file is closed" \ + "\n r File is opened" \ + "\n m File is moved from X" \ + "\n y File is moved to Y" \ + "\n n Subfile is created" \ + "\n d Subfile is deleted" \ + "\n D Self is deleted" \ + "\n M Self is moved" \ + #define insmod_trivial_usage \ USE_FEATURE_2_4_MODULES("[OPTION]... ") "MODULE [symbol=value]..." #define insmod_full_usage "\n\n" \ |