创建内存目录的目的在于减少不必要的磁盘操作,加速软件的启动速度。

/etc/fstab

tmpfs /tmp tmpfs defaults,noexec,nosuid 0 0