1 |
On 06/12/17 15:34, Alan McKinnon wrote: |
2 |
> - contents of /tmp are not expected to survive the invocation of the |
3 |
> program that created them |
4 |
> - contents of /var/tmp are not expected to survive a reboot |
5 |
|
6 |
That sounds completely wrong, actually. |
7 |
|
8 |
The contents of /var/tmp are expected to survive a system crash, as that |
9 |
is where vi, emacs, libreoffice et al are expected to store their |
10 |
recovery logs. |
11 |
|
12 |
Not much point putting the logs somewhere where they will be deleted by |
13 |
the very occurrence they are intended to protect against ... |
14 |
|
15 |
And yes, the rules for /tmp are "don't expect to find anything you put |
16 |
there will be there a few minutes later ..." :-) |
17 |
|
18 |
Cheers, |
19 |
Wol |