File tree 4 files changed +23
-2
lines changed
4 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 1
1
2010-09-01 Mark Grondona <mgrondona@llnl.gov>
2
2
3
+ * README.modules, doc/pdcp.1.in, doc/pdsh.1.in :
4
+ Update documentation: adding -M and PDSH_MISC_MODULES.
5
+
3
6
* src/pdsh/opt.c :
4
7
Add new option -M to allow named misc modules to be
5
8
pre-initialized before others, thus overriding which
Original file line number Diff line number Diff line change @@ -13,8 +13,10 @@ the environment variable PDSH_RCMD_TYPE.
13
13
When pdsh initializes it reads all available modules from the
14
14
`pkglibdir' (typically /usr/lib/pdsh or /usr/local/lib/pdsh). If
15
15
conflicting modules are installed, they are loaded on a first-come
16
- first-serve basis (i.e. the first module loaded wins). There
17
- is no guarantee as to which module will be loaded first.
16
+ first-serve basis (i.e. the first module loaded wins). Modules
17
+ may be force-initialized by specifying them to the '-M' pdsh/pdcp
18
+ option, or via the PDSH_MISC_MODULES environment variable.
19
+
18
20
19
21
PDSH MODULES:
20
22
=============
Original file line number Diff line number Diff line change @@ -149,6 +149,14 @@ Set rcmd module to \fIname\fR. This option may also be set via the
149
149
PDSH_RCMD_TYPE environment variable. A list of available rcmd
150
150
modules may be obtained via either the \fI -h \fR or \fI -L \fR options.
151
151
.TP
152
+ .I "-M name,..."
153
+ When multiple \fB misc \fR modules provide the same options to \fB pdsh \fR ,
154
+ the first module initialized "wins" and subsequent modules are not loaded.
155
+ The \fI -M \fR option allows a list of modules to be specified that will be
156
+ force-initialized before all others, in-effect ensuring that they load
157
+ without conflict (unless they conflict with eachother). This option may
158
+ also be set via the PDSH_MISC_MODULES environment variable.
159
+ .TP
152
160
.I "-L"
153
161
List info on all loaded \fB pdcp \fR modules and quit.
154
162
.TP
Original file line number Diff line number Diff line change @@ -184,6 +184,14 @@ PDSH_RCMD_TYPE environment variable. A list of available rcmd
184
184
modules may be obtained via the \fI -h \fR , \fI -V \fR , or \fI -L \fR options.
185
185
The default will be listed with \fI -h \fR or \fI -V \fI .
186
186
.TP
187
+ .I "-M name,..."
188
+ When multiple \fB misc \fR modules provide the same options to \fB pdsh \fR ,
189
+ the first module initialized "wins" and subsequent modules are not loaded.
190
+ The \fI -M \fR option allows a list of modules to be specified that will be
191
+ force-initialized before all others, in-effect ensuring that they load
192
+ without conflict (unless they conflict with eachother). This option may
193
+ also be set via the PDSH_MISC_MODULES environment variable.
194
+ .TP
187
195
.I "-L"
188
196
List info on all loaded \fB pdsh \fR modules and quit.
189
197
.TP
You can’t perform that action at this time.
0 commit comments