Hal Rosenstock wrote: > Also, similar change to doc/partition-config.txt > > Signed-off-by: Hal Rosenstock <hal.rosenst...@gmail.com> > --- > diff --git a/opensm/doc/partition-config.txt b/opensm/doc/partition-config.txt > index f855268..ae3d6f6 100644 > --- a/opensm/doc/partition-config.txt > +++ b/opensm/doc/partition-config.txt > @@ -3,10 +3,13 @@ OpenSM Partition configuration > > The default name of OpenSM partitions configuration file is > '/etc/opensm/partitions.conf'. The default may be changed by > -using --Pconfig (-P) option with OpenSM. > +using the --Pconfig (-P) option with OpenSM. > > The default partition will be created by OpenSM unconditionally even > when partition configuration file does not exist or cannot be accessed. > +Effectively, this amounts to the same as if the following line appears in the > +partitions config file: > +Default=0x7fff : ALL=limited, SELF=full ;
When partition configuration file is missing (is_config=0) the opensm sets all ports to full membership. See opensm/osm_prtn.c status = osm_prtn_make_default(p_log, p_subn, !is_config); > > The default partition has P_Key value 0x7fff. OpenSM's port will have > full membership in default partition. All other end ports will have > diff --git a/opensm/man/opensm.8.in b/opensm/man/opensm.8.in > index fcdc168..caee2ef 100644 > --- a/opensm/man/opensm.8.in > +++ b/opensm/man/opensm.8.in > @@ -1,4 +1,4 @@ > -.TH OPENSM 8 "September 3, 2009" "OpenIB" "OpenIB Management" > +.TH OPENSM 8 "September 13, 2009" "OpenIB" "OpenIB Management" > > .SH NAME > opensm \- InfiniBand subnet manager and administration (SM/SA) > @@ -418,11 +418,15 @@ logrotate purposes. > .SH PARTITION CONFIGURATION > .PP > The default name of OpenSM partitions configuration file is > -\f...@opensm_config_dir@/@partition_config_f...@\fp. The default may be > changed by using > ---Pconfig (-P) option with OpenSM. > +\f...@opensm_config_dir@/@partition_config_f...@\fp. The default may be > changed > +by using the --Pconfig (-P) option with OpenSM. > > The default partition will be created by OpenSM unconditionally even > when partition configuration file does not exist or cannot be accessed. > +Effectively, this amounts to the same as if the following line appears in the > +partitions config file: > + > +Default=0x7fff : ALL=limited, SELF=full ; > > The default partition has P_Key value 0x7fff. OpenSM\'s port will have > full membership in default partition. All other end ports will have > _______________________________________________ > general mailing list > general@lists.openfabrics.org > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general > > To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general _______________________________________________ general mailing list general@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general