KBEA-00026 - Changing the location of the diskcache directory

Summary

The default location of the diskcache directory is whatever the system temp directory is. This is usually /tmp on Unix and whatever $TEMP is on Windows.You want the diskcache to use a different location.

Solution

Use "ecconfig  -tempdir <new path>" to change the location of both the diskcache and the temp directory.

If for some reason you only want to change the diskcache directory then

In <install location><arch>/bin/rundiskcache, find the line:

    diskcacheman directory $::opts(tempdir)

 And change the $::opts(tempdir) to a full path of where you want the new location to be.

Examples

"diskcacheman directory c:/foo/bar" causes the diskcache to put its files in the folder c:/foo/bar on Windows.

"diskcacheman directory /var/tmp" puts files in /var/tmp on Unix. 

Applies to

  • Product versions: 4.2 and later
  • OS versions: All
Have more questions? Submit a request

Comments

Powered by Zendesk