[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Moving /tmp to tmpfs makes it useless



On Sun, May 27, 2012 at 10:01:22PM +0200, Tollef Fog Heen wrote:
> ]] Thomas Goirand 
> 
> > Come on, WE CAN! Let's create a /run/tmp *now*, it wont cost us much,
> > then later applications can slowly use it if they want. Worst case:
> > not a lot of app uses it, and the /run/tmp tmpfs isn't used much,
> > which isn't a problem. Best case: everyone that needs a fast space
> > has it and switches to it, and everyone is happy.
> 
> How is this significantly different from /run/user/$user ?  If it's not,
> we should just use that instead.

/run/user is AFAICT not for user data, it's for session metadata for
user services such as pidfiles, sockets and state. i.e. the user
equivalent of /var/run.  Its size should be only a few KiB at most.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


Reply to: