Re: putting "/tmp" to memory

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



On Sun, Jan 23, 2011 at 1:47 PM, kellyremo <kellyremo@xxxxxxxx> wrote:
>
> "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"?
>
> 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 ]
>
> Really thank you for any good help...
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
>

add this to fstab:
none             /tmp      tmpfs    defaults,nosuid,nodev,noexec       0 0

(unverified)

then reboot or remount /tmp.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux