[openib-general] [PATCH] OpenSM/osm_base.h: Change OSM_DEFAULT_TMP_DIR to /var/logfor Linux

Eitan Zahavi eitan at mellanox.co.il
Wed Sep 6 08:28:42 PDT 2006


OK. I will need to update the ibdmchk utility to look by default for
osm.{fdbs,mcfdbs} and subnet.lst in the /var/tmp ...

I hope this is not targeting the OFED 1.1 as it must not be critical ...

Eitan Zahavi
Senior Engineering Director, Software Architect
Mellanox Technologies LTD
Tel:+972-4-9097208
Fax:+972-4-9593245
P.O. Box 586 Yokneam 20692 ISRAEL


> -----Original Message-----
> From: Hal Rosenstock [mailto:halr at voltaire.com]
> Sent: Wednesday, September 06, 2006 6:09 PM
> To: openib-general at openib.org
> Cc: Eitan Zahavi
> Subject: [PATCH] OpenSM/osm_base.h: Change OSM_DEFAULT_TMP_DIR to
> /var/logfor Linux
> 
> OpenSM/osm_base.h: Change OSM_DEFAULT_TMP_DIR to /var/log for Linux
> 
> Signed-off-by: Hal Rosenstock <halr at voltaire.com>
> 
> Index: include/opensm/osm_base.h
> ================================================================
> ===
> --- include/opensm/osm_base.h	(revision 9158)
> +++ include/opensm/osm_base.h	(working copy)
> @@ -177,15 +177,14 @@ BEGIN_C_DECLS
>  *
>  * DESCRIPTION
>  *	Specifies the default temporary directory for the log file,
subnet.lst
> -*  and the other log files (with the exception of osm.log for Linux
being
> -*  in /var/log).
> +*  and the other log files.
>  *
>  * SYNOPSIS
>  */
>  #ifdef __WIN__
>  #define OSM_DEFAULT_TMP_DIR GetOsmTempPath()  #else -#define
> OSM_DEFAULT_TMP_DIR "/tmp/"
> +#define OSM_DEFAULT_TMP_DIR "/var/log/"
>  #endif
>  /***********/
> 
> 





More information about the general mailing list