diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.src.h | 111 |
1 files changed, 0 insertions, 111 deletions
diff --git a/include/usage.src.h b/include/usage.src.h index f9f457871..878e7a282 100644 --- a/include/usage.src.h +++ b/include/usage.src.h | |||
@@ -2148,28 +2148,6 @@ INSERT | |||
2148 | "\ninotifyd waits for PROG to exit." \ | 2148 | "\ninotifyd waits for PROG to exit." \ |
2149 | "\nWhen x event happens for all FILEs, inotifyd exits." \ | 2149 | "\nWhen x event happens for all FILEs, inotifyd exits." \ |
2150 | 2150 | ||
2151 | /* 2.6 style insmod has no options and required filename | ||
2152 | * (not module name - .ko can't be omitted) */ | ||
2153 | #define insmod_trivial_usage \ | ||
2154 | IF_FEATURE_2_4_MODULES("[OPTIONS] MODULE ") \ | ||
2155 | IF_NOT_FEATURE_2_4_MODULES("FILE ") \ | ||
2156 | "[symbol=value]..." | ||
2157 | #define insmod_full_usage "\n\n" \ | ||
2158 | "Load the specified kernel modules into the kernel" \ | ||
2159 | IF_FEATURE_2_4_MODULES( "\n" \ | ||
2160 | "\nOptions:" \ | ||
2161 | "\n -f Force module to load into the wrong kernel version" \ | ||
2162 | "\n -k Make module autoclean-able" \ | ||
2163 | "\n -v Verbose" \ | ||
2164 | "\n -q Quiet" \ | ||
2165 | "\n -L Lock to prevent simultaneous loads of a module" \ | ||
2166 | IF_FEATURE_INSMOD_LOAD_MAP( \ | ||
2167 | "\n -m Output load map to stdout" \ | ||
2168 | ) \ | ||
2169 | "\n -o NAME Set internal module name to NAME" \ | ||
2170 | "\n -x Don't export externs" \ | ||
2171 | ) | ||
2172 | |||
2173 | /* -v, -b, -c are ignored */ | 2151 | /* -v, -b, -c are ignored */ |
2174 | #define install_trivial_usage \ | 2152 | #define install_trivial_usage \ |
2175 | "[-cdDsp] [-o USER] [-g GRP] [-m MODE] [SOURCE]... DEST" | 2153 | "[-cdDsp] [-o USER] [-g GRP] [-m MODE] [SOURCE]... DEST" |
@@ -2973,95 +2951,6 @@ INSERT | |||
2973 | "$ ls -la /tmp/temp.mWiLjM\n" \ | 2951 | "$ ls -la /tmp/temp.mWiLjM\n" \ |
2974 | "-rw------- 1 andersen andersen 0 Apr 25 17:10 /tmp/temp.mWiLjM\n" | 2952 | "-rw------- 1 andersen andersen 0 Apr 25 17:10 /tmp/temp.mWiLjM\n" |
2975 | 2953 | ||
2976 | #define modprobe_trivial_usage \ | ||
2977 | IF_MODPROBE_SMALL("[-qfwrsv] MODULE [symbol=value]...") \ | ||
2978 | IF_NOT_MODPROBE_SMALL("[-" \ | ||
2979 | IF_FEATURE_2_4_MODULES("k")"nqrsv" \ | ||
2980 | IF_FEATURE_MODPROBE_BLACKLIST("b")"] MODULE [symbol=value]...") | ||
2981 | #define modprobe_full_usage "\n\n" \ | ||
2982 | "Options:" \ | ||
2983 | IF_MODPROBE_SMALL( \ | ||
2984 | "\n -q Quiet" \ | ||
2985 | "\n -f Force" \ | ||
2986 | "\n -w Wait for unload" \ | ||
2987 | "\n -r Remove module (stacks) or do autoclean" \ | ||
2988 | "\n -s Report via syslog instead of stderr" \ | ||
2989 | "\n -v Verbose" \ | ||
2990 | ) \ | ||
2991 | IF_NOT_MODPROBE_SMALL( \ | ||
2992 | IF_FEATURE_2_4_MODULES( \ | ||
2993 | "\n -k Make module autoclean-able" \ | ||
2994 | ) \ | ||
2995 | "\n -n Dry run" \ | ||
2996 | "\n -q Quiet" \ | ||
2997 | "\n -r Remove module (stacks) or do autoclean" \ | ||
2998 | "\n -s Report via syslog instead of stderr" \ | ||
2999 | "\n -v Verbose" \ | ||
3000 | IF_FEATURE_MODPROBE_BLACKLIST( \ | ||
3001 | "\n -b Apply blacklist to module names too" \ | ||
3002 | ) \ | ||
3003 | ) | ||
3004 | |||
3005 | #define modprobe_notes_usage \ | ||
3006 | "modprobe can (un)load a stack of modules, passing each module options (when\n" \ | ||
3007 | "loading). modprobe uses a configuration file to determine what option(s) to\n" \ | ||
3008 | "pass each module it loads.\n" \ | ||
3009 | "\n" \ | ||
3010 | "The configuration file is searched (in this order):\n" \ | ||
3011 | "\n" \ | ||
3012 | " /etc/modprobe.conf (2.6 only)\n" \ | ||
3013 | " /etc/modules.conf\n" \ | ||
3014 | " /etc/conf.modules (deprecated)\n" \ | ||
3015 | "\n" \ | ||
3016 | "They all have the same syntax (see below). If none is present, it is\n" \ | ||
3017 | "_not_ an error; each loaded module is then expected to load without\n" \ | ||
3018 | "options. Once a file is found, the others are tested for.\n" \ | ||
3019 | "\n" \ | ||
3020 | "/etc/modules.conf entry format:\n" \ | ||
3021 | "\n" \ | ||
3022 | " alias <alias_name> <mod_name>\n" \ | ||
3023 | " Makes it possible to modprobe alias_name, when there is no such module.\n" \ | ||
3024 | " It makes sense if your mod_name is long, or you want a more representative\n" \ | ||
3025 | " name for that module (eg. 'scsi' in place of 'aha7xxx').\n" \ | ||
3026 | " This makes it also possible to use a different set of options (below) for\n" \ | ||
3027 | " the module and the alias.\n" \ | ||
3028 | " A module can be aliased more than once.\n" \ | ||
3029 | "\n" \ | ||
3030 | " options <mod_name|alias_name> <symbol=value...>\n" \ | ||
3031 | " When loading module mod_name (or the module aliased by alias_name), pass\n" \ | ||
3032 | " the \"symbol=value\" pairs as option to that module.\n" \ | ||
3033 | "\n" \ | ||
3034 | "Sample /etc/modules.conf file:\n" \ | ||
3035 | "\n" \ | ||
3036 | " options tulip irq=3\n" \ | ||
3037 | " alias tulip tulip2\n" \ | ||
3038 | " options tulip2 irq=4 io=0x308\n" \ | ||
3039 | "\n" \ | ||
3040 | "Other functionality offered by 'classic' modprobe is not available in\n" \ | ||
3041 | "this implementation.\n" \ | ||
3042 | "\n" \ | ||
3043 | "If module options are present both in the config file, and on the command line,\n" \ | ||
3044 | "then the options from the command line will be passed to the module _after_\n" \ | ||
3045 | "the options from the config file. That way, you can have defaults in the config\n" \ | ||
3046 | "file, and override them for a specific usage from the command line.\n" | ||
3047 | #define modprobe_example_usage \ | ||
3048 | "(with the above /etc/modules.conf):\n\n" \ | ||
3049 | "$ modprobe tulip\n" \ | ||
3050 | " will load the module 'tulip' with default option 'irq=3'\n\n" \ | ||
3051 | "$ modprobe tulip irq=5\n" \ | ||
3052 | " will load the module 'tulip' with option 'irq=5', thus overriding the default\n\n" \ | ||
3053 | "$ modprobe tulip2\n" \ | ||
3054 | " will load the module 'tulip' with default options 'irq=4 io=0x308',\n" \ | ||
3055 | " which are the default for alias 'tulip2'\n\n" \ | ||
3056 | "$ modprobe tulip2 irq=8\n" \ | ||
3057 | " will load the module 'tulip' with default options 'irq=4 io=0x308 irq=8',\n" \ | ||
3058 | " which are the default for alias 'tulip2' overridden by the option 'irq=8'\n\n" \ | ||
3059 | " from the command line\n\n" \ | ||
3060 | "$ modprobe tulip2 irq=2 io=0x210\n" \ | ||
3061 | " will load the module 'tulip' with default options 'irq=4 io=0x308 irq=4 io=0x210',\n" \ | ||
3062 | " which are the default for alias 'tulip2' overridden by the options 'irq=2 io=0x210'\n\n" \ | ||
3063 | " from the command line\n" | ||
3064 | |||
3065 | #define more_trivial_usage \ | 2954 | #define more_trivial_usage \ |
3066 | "[FILE]..." | 2955 | "[FILE]..." |
3067 | #define more_full_usage "\n\n" \ | 2956 | #define more_full_usage "\n\n" \ |