首页 > 其他 > 详细

tmpfs

时间:2014-09-20 08:50:36      阅读:409      评论:0      收藏:0      [点我收藏+]

the /tmp folder of linux will be cleaned every time when you reboot.

Well, actually, It doesn‘t "delete on reboot"; it only exists in RAM in the first place. Mount tmpfs to a directory under your home directory.

tmpfs is a virtual filesystem, just like proc or sysfs. You can use the name directly without specifying a device file.

tmpfs is a common name for a temporary file storage facility on many Unix-like operating systems. It is intended to appear as a mounted file system, but stored in volatile memory instead of a persistent storage device. A similar construction is a RAM disk, which appears as a virtual disk drive and hosts a disk file system.

tmpfs

原文:http://www.cnblogs.com/miaoz/p/3982835.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!