The tmpfs filesystem is a virtual memory filesystem.
tmpfs文件系统是一个虚拟内存文件系统。
Using the tmpfs virtual memory filesystem and bind mounts (Part 3)
使用tmpfs虚拟内存文件系统和绑定挂装(第 3部分)
Speed -- As tmpfs resides in RAM, the reads and writes are almost instantaneous.
速度 ―因为tmpfs驻留在RAM,所以读和写几乎都是瞬时的。
Once you have a tmpfs-enabled kernel, you can go ahead and mount tmpfs filesystems.
一旦您有了一个启用了tmpfs 的内核,您就可以开始安装 tmpfs 文件系统了。
While this may not seem like a positive, tmpfs data is not preserved between reboots, because virtual memory is volatile in nature.
这看起来可能不象是个积极因素,tmpfs数据在重新启动之后不会保留,因为虚拟内存本质上就是易失的。
Since VM is a precious resource, you don't want anything hogging more VM than it actually needs, and the great thing about tmpfs is that this all happens automatically.
因为VM是宝贵的资源,所以您一定不希望任何东西浪费超出它实际所需的 VM,tmpfs 的好处之一就在于这些都是自动处理的。
In contrast, TMPFS is a filesystem.
相反,tmpfs是一个文件系统。
Therefore, important data can't be stored on TMPFS.
因此,重要的数据不能存储在tmpfs上。
As I mentioned above, TMPFS can use both RAM and swap.
正如我前面提到的一样,tmpfs既可以使用RAM,也可以使用交换分区。
Creating a TMPFS filesystem with a maximum size is easy.
创建有最大容量的tmpfs文件系统很容易。
Here's another interesting property of the TMPFS filesystem.
这里是tmpfs文件系统另一个有趣的特性。
Again, you can use a TMPFS filesystem if you want to get an extra speed boost.
如果您希望获得额外的加速,同样可以使用tmpfs文件系统。
All the TMPFS filesystem knows is that it is using some form of virtual memory.
tmpfs文件系统所知道的就是它正在使用某种形式的虚拟内存。
As part of the boot process, UnionFS USES TMPFS to create a read-write root filesystem.
作为引导过程的一部分,UnionFS使用tmpfs来创建读写根文件系统。
Like a ramdisk, TMPFS can use your ram, but it can also use your swap devices for storage.
象虚拟磁盘一样,tmpfs可以使用您的RAM,但它也可以使用您的交换分区来存储。
If I had to explain TMPFS in one breath, I'd say that TMPFS is like a ramdisk, but different.
如果我必须一下子说清楚tmpfs,我会说tmpfs就象虚拟磁盘(ramdisk),但不一样。
All in all, this makes TMPFS the niftiest RAM-based filesystem I've had the opportunity to meet.
总而言之,这让tmpfs成为我有机会遇到的最好的基于RAM的文件系统。
Because TMPFS sits on top of VM directly, you can create a TMPFS filesystem with a simple mount command.
因为tmpfs是直接建立在VM之上的,您用一个简单的mount命令就可以创建tmpfs文件系统了。
Immediately after the mount command, the filesystem is mounted and available for use, and is of type TMPFS.
在mount命令执行之后,文件系统立即就被安装并且可以使用了,类型是tmpfs。
Because a typical TMPFS filesystem will reside completely in RAM, reads and writes can be almost instantaneous.
因为典型的tmpfs文件系统会完全驻留在RAM中,读写几乎可以是瞬间的。
Tmpfs is probably the best RAM disk-like system available for Linux right now, and is a new feature of kernel 2.4.
Tmpfs可能是现在Linux可以使用的最好的类似于ram磁盘的系统,而且是2.4内核的一个新功能。
Under some UNIX variants, notably Solaris and Linux, you can use the TMPFS filesystem; this USES VM as storage space.
在某些UNIX变体下,特别是Solaris和Linux,您可以使用tmpfs文件系统;该文件系统使用VM作为存储空间。
Fortunately, TMPFS allows you to specify a maximum upper bound for the filesystem size when a filesystem is mounted or remounted.
幸运的是,tmpfs允许您在安装或重新安装文件系统的时候指定文件系统容量的最大值上限。
TMPFS itself doesn't know whether these pages are on swap or in RAM; it's the VM subsystem's job to make those kinds of decisions.
tmpfs自己并不知道这些页面是在交换分区还是在RAM中;做这种决定是vm子系统的工作。
Tmpfs also makes use of the disk swap space for storage, and of the virtual memory (VM) subsystem when requesting pages for storing files.
tmpfs还使用磁盘交换空间来存储,并且当为存储文件而请求页面时,使用虚拟内存(VM)子系统。
Even if some swap is used, performance is still excellent and those parts of the TMPFS filesystem will be moved to RAM as more free VM resources become available.
即使用了一些交换分区,性能仍然是卓越的,当更多空闲的VM资源可以使用时,这部分tmpfs文件系统会被移动到RAM中去。
Unlike most other filesystems like Ext2fs and JFFS2, which reside on top of the underlying block device, TMPFS sits directly on top of the VM. Thus mounting the TMPFS filesystem is a simple affair.
诸如Ext2fs和JFFS2等大多数其它文件系统都驻留在底层块设备之上,而tmpfs与它们不同,它直接位于VM上。
Unlike most other filesystems like Ext2fs and JFFS2, which reside on top of the underlying block device, TMPFS sits directly on top of the VM. Thus mounting the TMPFS filesystem is a simple affair.
诸如Ext2fs和JFFS2等大多数其它文件系统都驻留在底层块设备之上,而tmpfs与它们不同,它直接位于VM上。
应用推荐