diff options
author | Rob Landley <rob@landley.net> | 2005-10-28 17:05:12 +0400 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2005-10-28 17:05:12 +0400 |
commit | aa87276bed8df4cdcd443f102b58d95c26be9c6d (patch) | |
tree | 4592b8c6be22d6bac7182f8b3304b3df56ca85f0 /include | |
parent | 30c7de068b50de999b0b73a22e859dd2e9c23204 (diff) |
New applet, fuser, from Tony J. White. (Needs some cleanup.)
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 883e55990..2b2c45d67 100644 --- a/include/applets.h +++ b/include/applets.h @@ -258,6 +258,9 @@ #ifdef CONFIG_FTPPUT APPLET(ftpput, ftpgetput_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_FUSER + APPLET(fuser, fuser_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_GETOPT APPLET(getopt, getopt_main, _BB_DIR_BIN, _BB_SUID_NEVER) #endif diff --git a/include/usage.h b/include/usage.h index 69c50b97b..79a61d20a 100644 --- a/include/usage.h +++ b/include/usage.h @@ -841,6 +841,16 @@ "\t-p, --password Password to be used\n" \ "\t-P, --port Port number to be used" +#define fuser_trivial_usage \ + "[options] file OR port/proto" +#define fuser_full_usage \ + "Options:\n" \ + "\t-m Show all processes on the same mounted fs\n" \ + "\t-k Kill all processes that match.\n" \ + "\t-s Don't print or kill anything.\n" \ + "\t-4 When using port/proto only search IPv4 space\n" \ + "\t-6 When using port/proto only search IPv6 space\n" \ + "\t-SIGNAL When used with -k, this signal will be used to kill\n" #define getopt_trivial_usage \ "[OPTIONS]..." #define getopt_full_usage \ |