Skip to content

Commit c273a57

Browse files
committed
Update documentation of -M and PDSH_MISC_MODULES
1 parent b580c96 commit c273a57

File tree

4 files changed

+23
-2
lines changed

4 files changed

+23
-2
lines changed

ChangeLog

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
2010-09-01 Mark Grondona <mgrondona@llnl.gov>
22

3+
* README.modules, doc/pdcp.1.in, doc/pdsh.1.in :
4+
Update documentation: adding -M and PDSH_MISC_MODULES.
5+
36
* src/pdsh/opt.c :
47
Add new option -M to allow named misc modules to be
58
pre-initialized before others, thus overriding which

README.modules

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ the environment variable PDSH_RCMD_TYPE.
1313
When pdsh initializes it reads all available modules from the
1414
`pkglibdir' (typically /usr/lib/pdsh or /usr/local/lib/pdsh). If
1515
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+
1820

1921
PDSH MODULES:
2022
=============

doc/pdcp.1.in

+8
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,14 @@ Set rcmd module to \fIname\fR. This option may also be set via the
149149
PDSH_RCMD_TYPE environment variable. A list of available rcmd
150150
modules may be obtained via either the \fI-h\fR or \fI-L\fR options.
151151
.TP
152+
.I "-M name,..."
153+
When multiple \fBmisc\fR modules provide the same options to \fBpdsh\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
152160
.I "-L"
153161
List info on all loaded \fBpdcp\fR modules and quit.
154162
.TP

doc/pdsh.1.in

+8
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,14 @@ PDSH_RCMD_TYPE environment variable. A list of available rcmd
184184
modules may be obtained via the \fI-h\fR, \fI-V\fR, or \fI-L\fR options.
185185
The default will be listed with \fI-h\fR or \fI-V\fI.
186186
.TP
187+
.I "-M name,..."
188+
When multiple \fBmisc\fR modules provide the same options to \fBpdsh\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
187195
.I "-L"
188196
List info on all loaded \fBpdsh\fR modules and quit.
189197
.TP

0 commit comments

Comments
 (0)