dears all
after any reboot for my solaris machin the mount point /tmp it will empty is there command to remove this thing and make the data under /tmp stay after the reboot .
Solaris is designed to behave like that... Why do you need to change that?
On modern versions of Solaris, /tmp is implemented as a TMPFS (temporary File System) and simply uses local memory for file system reads and writes. When local memory is insufficient to hold everything in /tmp, TMPFS uses swap space as a temporary backing store as long as sufficient swap space is available. Files in TMPFS are not permanent; they are deleted if the file system is unmounted or when the system is shutdown or rebooted.
If you want to preserve files in /tmp, you probably should create and mount a different filesystem there instead of TMPFS.
I'm reminded of an old blooper... "Sir, why are you keeping your database in /tmp?"
Maybe you can use /var/tmp instead of /tmp?
The way Solaris looks at tmp directories:
/tmp
- very volatile data.
- Do not use for data that should be kept more than several seconds.
/var/tmp
- less volatile data.
- Directory on disk so data in it will survive a reboot.
- Use for any tmp data that should be kept more than several seconds.