PDA

View Full Version : Temp FS


chuby
09-13-2007, 09:56 PM
Hi my first post new costumer !

I was wondering the tmpfs resides on memory or on a HDD ? I have an application that could lower disk usage if I move it to tmpfs but only if it is memory if it is another HDD it will end ub being the same TYVM !

Rick
09-14-2007, 01:34 AM
Hi Chuby, I have /tmp in memory on some OS templates by default. You can check yours with mount.

root@pluto [~]# mount
/dev/simfs on / type reiserfs (rw,usrquota,grpquota)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /tmp type tmpfs (rw,noexec,nosuid)

The last line means /tmp is in memory, tmpfs. If that is not there, run this and add it to your rc.local:

/bin/mount -t tmpfs -o noexec,nosuid tmpfs /tmp/

chuby
09-15-2007, 11:33 PM
yes I tought so , it was ok thanks man =)