TMPFS=`mount | grep "/tmp" | grep "tmpfs"`
if [ -n "$TMPFS" ]; then
cat << END

if /tmp is tmpfs and if mysql is being used against big 
tables (> 2G) there is a big possibility of data/index 
corruption, especially on myisamchk.

Consider mounting /tmp on a regular file system

END
fi
