[ofa-general] Re: [PATCH 1/2] fix default configuration files path

Sasha Khapyorsky sashak at voltaire.com
Mon Nov 10 11:51:29 PST 2008


On 11:48 Thu 06 Nov     , Doron Shoham wrote:
> fix default configuration files path in QoS_management_in_OpenSM.txt file
> from /usr/local/etc/opensm/ to /etc/opensm/
> 
> Signed-off-by: Doron Shoham <dorons at voltaire.com>
> ---
>  opensm/doc/QoS_management_in_OpenSM.txt |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/opensm/doc/QoS_management_in_OpenSM.txt b/opensm/doc/QoS_management_in_OpenSM.txt
> index ba1b4b1..1a48b1a 100644
> --- a/opensm/doc/QoS_management_in_OpenSM.txt
> +++ b/opensm/doc/QoS_management_in_OpenSM.txt
> @@ -20,7 +20,7 @@
>  
>  When QoS in OpenSM is enabled (-Q or --qos), OpenSM looks for QoS Policy file.
>  The default name of OpenSM QoS policy file is
> -/usr/local/etc/opensm/qos-policy.conf. The default may be changed by using -Y
> +/etc/opensm/qos-policy.conf. The default may be changed by using -Y
>  or --qos_policy_file option with OpenSM.

The OpenSM config dir is configured value so it could be
/usr/local/etc/opensm or /etc/opensm or something else.

Basically I'm fine with using '/etc/opensm', but then it should be
updated to other docs too (specifically in
doc/performance-manager-HOWTO.txt).

Other way to handle this is to make *.in templates for those docs where
config path is used and generate the file in ./configure time (similar
to how it is done with OpenSM man page). Probably it is overkill for
docs...

Thoughts?

Sasha



More information about the general mailing list