[CentOS] /tmp directory

Tue Dec 11 07:35:20 UTC 2012
Peter Eckel <lists at eckel-edv.de>

Hi Mogens, 

> What is "important"?

valid question. 

I would define 'important' or rather 'valuable' (in a material or non-material sense) in terms of reproducability. If it costs you (personal) time, effort or money to reproduce them, or if the data are irreprocible to reproduce and might be needed later on, /tmp and friends are the wrong place. 

In addition to that, normally /tmp is not a file system that would be backed up. No place for production data of any kind. 

> I keep a "yum list >/tmp/yum.lst" in /tmp.
> That's important to me, as I often search for packages.

But it's easily reproducable with one command, even in cron. So it's not what I would call 'valuable data'. It's redundant, kind of a cache. 

By the way, what's wrong with 'yum search'? Too slow?

Best regards,