VFS is also like UNIX's "everything is a file" concept, in that it's easy to understand and imitate the idea, but it might take years to appreciate how much it simplifies application design.
VFS和 UNIX的“一切均是文件”的概念也很相似,因为这个想法很容易理解和模仿,但是要意识到它能将应用程序设计简化到哪种程度,还需要花几年工夫。
In that sense, VFS is like object orientation, high-level languages, or run-time libraries: it provides nothing new, and you can do in your own programming everything VFS does.
从这个意义上说,VFS类似于面向对象的高级语言或运行时库:它不提供任何新内容,您可以自己编程来做VFS可以做的任何事。
The file system driver implementation routes requests from the VFS back to user space.
文件系统驱动程序实现将来自VFS 的请求发送回用户空间。
The only difficulty is that few language run-time libraries currently support full-blown VFS.
最大的困难就是当前支持成熟的VFS的语言运行时库很少。
UNIX is founded on the principle that everything, or at least plenty of things, are files; VFS generalizes this to view as much as possible as a filesystem.
UNIX建立在如下原则之上:每样东西(或者至少是许多东西)都是文件;VFS 将这一原则加以推广,将尽可能多的东西看成是文件系统。
In addition to abstracting the details of file operations from the underlying file systems, VFS ties the underlying block devices to the available file systems.
除了从底层文件系统抽象文件操作的细节之外,VFS还将底层块设备绑定到可用的文件系统。
Scripted documents and VFS are large topics that deserve column installments of their own.
脚本化文档和VFS是宏大的主题,值得开辟它们自己的专栏。
The idea behind a VFS is simple: it represents as a filesystem something that is not a filesystem.
VFS背后的构想很简单:它将不是文件系统的事物表示为文件系统。
Above the VFS is the standard kernel system-call interface (SCI).
在VFS之上的是标准的内核系统调用接口(SCI)。
The upper level accepts requests from above (such as the VFS) and converts them into SCSI requests.
较高层接受来自上层(比如VFS)的请求并将其转换成SCSI 请求。
The VFS provides a switching layer between the SCI and the file systems supported by the kernel (see Figure 4).
vfs在sci和内核所支持的文件系统之间提供了一个交换层(请参看图4)。
Basically it delegates most of the VFS calls to a specialized daemon that handles them.
从根本上来说,它将大部分VFS调用都委托给一个专用的守护进程来处理。
That is, rather than using VFS technology to access existing external resources, it manages a special-purpose database, internal to the application, as a complete filesystem.
也就是,不是使用VFS技术去访问现有的外部资源,而是要将一个特殊用途的数据库(位于应用程序内部)当作一个完整的文件系统进行管理。
At the top is the virtual file system (VFS), which presents a common interface to higher-level applications.
架构的顶层是虚拟文件系统(VFS),它为高级应用程序提供通用接口。
Now that I've reviewed the various important objects in the VFS layer, let's look at how they relate in a single diagram.
我们已经查看了vfs层中的各种重要对象,现在我们通过一个图表展示它们之间的关系。
With VFS, though, resource management is far easier and more rational.
但是,有了VFS,资源管理就变得非常容易且更加合理。
Another structure maintained in the VFS is the mounted file systems (see Figure 3).
VFS中维护的另一个结构是挂装的文件系统(见图3)。
The VFS provides the abstraction layer, separating the POSIX API from the details of how a particular file system implements that behavior.
VFS提供抽象层,从而将POSIXAPI 与特定文件系统如何实现该行为的细节分离开来。
At the core of that set of interfaces is the virtual file system switch (VFS).
这组接口的核心就是虚拟文件系统交换器(VFS)。
Once a request is found to be destined for NFS, VFS passes it to the NFS instance within the kernel.
一旦发现了为NFS指定的需求,VFS 会将其传递给内核中的 NFS实例。
At the bottom of the VFS are the file system abstractions that define how the upper-layer functions are implemented.
在VFS下面是文件系统抽象,它定义了上层函数的实现方式。
The virtual file system (VFS) is the abstraction layer for the multitude of file systems that are supported in the kernel.
而虚拟文件系统(VFS)是内核中支持的大多数文件系统的抽象层。
The VFS is the primary interface to the underlying file systems.
VFS是底层文件系统的主要接口。
Before looking at the overall architecture of the VFS subsystem, let's have a look at the major objects that are used.
在查看vfs子系统的总体架构之前,我们先看看所使用的主要对象。
Summary: a virtual filesystem (VFS) is an abstraction with surprisingly productive USES.
简介:虚拟文件系统(VFS)是一个抽象概念,它具有极其高效的用途。
Let's now look at the internals of the VFS to see how this works.
让我们看看VFS的内部结构及其工作原理。
The VFS keeps track of the currently-supported file systems, as well as those file systems that are currently mounted.
VFS记录当前支持的文件系统以及当前挂装的文件系统。
The file system interface-this interface supports VFS and vnode operations.
文件系统接口,这个接口支持VFS和vnode操作。
The well-known Zope application server provides a slightly more challenging example of a VFS.
众所周知的Zope应用程序服务器提供了一个颇有挑战性的 VFS示例。
Each file system provides its own inode methods, which implement the operations and provide the common abstraction to the VFS layer.
每个文件系统提供自己的inode方法,这些方法实现操作并向vfs层提供通用的抽象。
应用推荐