NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: reducing laptop storage wear and tear for cache objects
Thanks pl and rvp,
I'll try the following homedir/.profile environment variables for passing data.
```
XDG_CACHE_HOME="/tmp/.$(id -nu)_cache"; export XDG_CACHE_HOME
test -d "$XDG_CACHE_HOME" || install -d -m 700 "$XDG_CACHE_HOME"
XDG_RUNTIME_DIR="/tmp/.$(id -nu)_runtime"; export XDG_RUNTIME_DIR
test -d "$XDG_RUNTIME_DIR" || install -d -m 700 "$XDG_RUNTIME_DIR"
```
=> https://specifications.freedesktop.org/basedir-spec/latest/#variables .
--
vl
Home |
Main Index |
Thread Index |
Old Index