On Sun, 23 Jan 2011, kellyremo 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"?
tmpfs /tmp tmpfs defaults,nosuid,nodev,mode=1777,size=1G In squeeze, edit /etc/default/tmpfs: SHM_SIZE=6G TMPFS_SIZE=1G RUN_SIZE=10M LOCK_SIZE=1M RW_SIZE=10M (adjust to your needs). > Disadvantages: - Security? [ how to set this up to be secure? any clear > howtos/links regarding it? :O ] tmpfs does not support security labels in 2.6.32, which limits SELINUX heavily. There is no workaround (unless Debian backported the support to 2.6.32, I didn't check). Switch to per-user TMP directories is recommended. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110123140827.ge24...@khazad-dum.debian.net