码迷,mamicode.com
首页 > 其他好文 > 详细

tmpfs

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

标签:http   io   os   ar   strong   for   sp   cti   on   

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   io   os   ar   strong   for   sp   cti   on   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!