AR# 9189: Solaris - Setting the temporary variable in UNIX
AR# 9189
|
Solaris - Setting the temporary variable in UNIX
説明
Keywords: Solaris, temp, variable, set, env
Urgency: Standard
General Description:
How do you set the temporary variable in UNIX to point to a location other than the default /var/tmp?
ソリューション
In UNIX, there is no global temporary variable setting as there is in Windows. Instead, the temporary variable is controlled on a per program basis. For the Xilinx tools, the location of the temporary file is determined by the tempnam system call. By default, the Solaris tempnam will use the /var/tmp directory, which may have considerably less space than your standard partition. You can override the use of the default directory by setting the environment variable TMPDIR to an alternate directory which has more free space available.