rmmod -a removed modules recursively

This commit is contained in:
Tim Riker
2002-12-14 01:58:59 +00:00
parent 6fe1960ff5
commit cf93274663
7 changed files with 52 additions and 22 deletions

View File

@@ -357,6 +357,8 @@ typedef struct {
extern procps_status_t * procps_scan(int save_user_arg0);
extern unsigned short compare_string_array(const char *string_array[], const char *key);
extern int my_query_module(const char *name, int which, void **buf, size_t *bufsize, size_t *ret);
typedef struct llist_s {
char *data;
struct llist_s *link;

View File

@@ -1722,7 +1722,7 @@
#define rmmod_full_usage \
"Unloads the specified kernel modules from the kernel.\n\n" \
"Options:\n" \
"\t-a\tTry to remove all unused kernel modules."
"\t-a\tRemove all unused modules (recursively)"
#define rmmod_example_usage \
"$ rmmod tulip\n"