CentOS 5.x
My understanding is that the contents of /tmp/
in CentOS 5.x can/are automatically purged by the OS via one of two methods:
- A daily cron task running
tmpwatch
- If
/tmp/
is mounted on atmpfs
(RAM), a system reboot/power cycle will clear everything.
Is that correct? If so, how can I confirm if /tmp is mounted on tmpfs?
I checked /etc/fstab
and saw this:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0