tmpfs:一种把文件系统存放在内存(RAM)中的临时文件系统(常见于 Linux/Unix)。它读写速度快,内容通常在重启后消失;在内存不足时,可能会使用交换空间(swap)作为后备。(也常用于 /tmp 或 /dev/shm 等目录。)
/ˈtɛmp ˌɛf ˌɛs/
I mounted tmpfs on /tmp to speed up builds.
我把 tmpfs 挂载到 /tmp 上来加快构建速度。
Because tmpfs stores data in memory, logs written there may vanish after a reboot unless they are copied to disk.
由于 tmpfs 把数据存放在内存里,写在那里的日志重启后可能会消失,除非把它们复制到磁盘上。
来自 temp(temporary,临时的)+ fs(file system,文件系统)的缩写组合;名称直观表达其用途:提供“临时的文件系统”。
tmpfs(5)(常见系统手册页条目)