How to save files in /tmp????

Hi all,

I would like to know how to save files in /tmp...
I was interested in knowing this because when ever i booted into solaris there would already be a few files present in /tmp.however any file that is freshly stored in would be lost on reboot...

can anyone answer this pls!!

/tmp = swap in solaris. have a look at "df -k" output. for temp space use /var/tmp!

Hi ,
I tried that out....
But saving anything to /var/tmp only stays there...
I want to save stuff in /tmp...
That is not happening??

You can't save stuff in /tmp on solaris unless you change /tmp to be ufs or something like that. Any files in a normal solaris /tmp present immediately after a reboot must have been put there during the reboot.