putting "/tmp" to memory

Loïc Grenié loic.grenie at gmail.com
Sun Jan 23 15:31:26 UTC 2011


2011/1/23 kellyremo <kellyremo at zoho.com>:
>
> "to memory" means: mounting a ~2 GByte filesystem [ tmpfs?, or ramfs? ], and
> put the "/tmp" on it. [ e.g.: 4 GByte ram in the pc ]. what to write in the
> "/etc/fstab"?

    Just add (if it's not already there):

tmpfs           /tmp            tmpfs   defaults        0       0

   to your /etc/fstab

> I would like to collect the [ answers too:P ]:
>
> Advantages:
> - Memory is way faster then HDD/SSD, so it could speed things up
> - "SSD amortization" is less
>
> Disadvantages:
> - Security? [ how to set this up to be secure? any clear howtos/links
> regarding it? :O ]

    Only disadvantage I know: it eats memory. Watch out if your friends
  send you GB of .doc files and you open them from firefox/bird.

     Hope this helps,

        Loïc




More information about the ubuntu-users mailing list