许多模拟器解决这个难题所采取的一个方案是:建立一个针对文件系统调用的额外的解释层。
A solution to this dilemma, adopted in more than one emulator, is to set up an extra layer of interpretation for file system calls.
调用的组合意味着文件系统操作需要更少的RPC,从而使NFS响应速度更快。
This combination of calls means that file system operations need fewer RPCs, leading to faster NFS response.
通过直接调用特定文件系统工具,通常可以获得更高级选项的访问权。
You can often gain access to more advanced options by calling the file system-specific tool directly.
为了访问设备,Linux内核将设备操作调用通过文件系统映射到设备驱动程序。
To visit the device, the Linux kernel maps the device operation call to the device driver via the file system.
在Linux中添加新文件系统的方法是调用register _ filesystem。
To add a new file system to Linux, register_filesystem is called.
这个模块还实现 /proc文件系统代码(针对 /dev/lguest),该代码实现到内核和驱动器(包括虚拟化调用)的用户空间接口。
The /proc file system code (for /dev/lguest) is also implemented in this module, which implements the user-space interfaces to the kernel and drivers, including hypercalls.
这个类包含file -visitor引擎穿越文件系统时所调用的回调方法。
This class contains the callback methods that the file-visitor engine will invoke as it traverses the file system.
如果LocalDiskCaching功能被调用,那么nimadm将在nim主机上的一个卷组上创建客户机文件系统。
If the Local Disk Caching function is invoked, then nimadm will create the client file systems in a volume group on the nim master.
最后,我们调用了a sh(一个BourneShell的克隆),这样就可以与根文件系统进行交互了。
Finally, I invoke ash (a Bourne Shell clone) so I can interact with the root file system.
内核引导、安装根文件系统,并通过调用初始化脚本(通常是 /sbin/init)继续进行初始化。
The kernel boots, mounts the root filesystem, and continues initialization by calling the initialization scripts (usually /sbin/init)
内核引导、安装初始ram磁盘(initrd),执行进一步的可定制初始化,然后安装根文件系统并继续进行初始化(通常也是通过调用 /sbin/init)
The kernel boots, mounts an initial ram disk (initrd), performs further customizable initialization, then mounts the root filesystem and continues initialization (again, usually by calling /sbin/init)
此处会执行一个对init/do_mounts.c:prepare_namespace() 的调用,这个函数用来准备名称空间(挂载dev文件系统、RAID或md、设备以及最后的initrd)。
A call is made here to init/do_mounts.c:prepare_namespace(), which is used to prepare the namespace (mount the dev file system, RAID, or md, devices, and, finally, the initrd).
从性能来看,文件状态调用(即为检查一个文件是否存在而对底层文件系统进行的调用)相当昂贵。
File status calls (meaning calls made to the underlying file system to check for the existence of a file) can be quite costly in terms of performance.
它通常对系统调用和通过文件系统指定的资源的操作请求执行授权检查。
It typically performs authorization checks on system calls and operation requests on resources named by a file system.
不允许文件系统访问,只允许调用有限的系统调用。
There is no FS access and a limited set of System calls allowed.
除了减少另外的系统调用之外,这种不可移植的扩展还减少了从文件系统获取更多元数据的开销非常高的访问操作。
Besides saving you another system call, this non-portable extension saves you an expensive trip back to the file system for more metadata.
调用本地文件系统或afs特有的函数。
在样例应用程序中,由于文件系统用于存储附件,返回给调用方的令牌是写入附件内容的文件的名称。
In the sample application, since the file system is used to store attachments, the token returned to the caller is the name of the file to which the contents of the attachment were written.
当进程查看文件系统的“root”时,这个系统调用会修改进程所看到的内容。
This system call changes what the process views when it views the "root" of the filesystem.
当文件系统挂载到系统中之后,它最初是空的,在其根目录中唯一有效的操作就是使用mkdir 系统调用创建一个新的目录。
When the file system gets mounted, it is initially empty, and the only valid operation in its root directory is to create new directories with the mkdir system call.
如果一个系统调用返回 Err#28ENOSPC(设备上没有剩余空间),就表示磁盘或文件系统满了,这可能导致守护进程无法响应服务请求。
A system call returning with Err#28 ENOSPC (No space left on device) would indicate that a disk or file system is full, potentially causing the daemon to fail to respond to service requests.
这里的关键之处是,不管底层文件系统是ext3还是Btrfs,Open、Read、Write或CloseAPI系统调用都能正常工作。
The key here is that Open, Read, Write, or Close API system calls work the same regardless of whether the underlying file system is ext3 or Btrfs.
例如,表面上看似无害的方法调用可能会在其执行过程中的某一点访问文件系统。
A method call which looks innocuous on the surface, for example, may access the file system at some point during its execution.
因此,文件系统一定必要产生附加的页面错误,因为这将导致无限递归调用。
Thus, the file system must not generate additional page faults because this may lead to an "infinite" recursion.
调用工具,以支持对与服务器进行通信的每个客户端机器的识别以及对与每个识别的客户端机器进行通信的文件系统中的每个存储单元的识别。
A tool is invoked to support identification of each client machine in communication with a server, as well as each storage unit in the file system in communication with each identified client machine.
如果请求是关于本地输出文件系统,则调用本地访问例程来获得对本地输出文件系统的访问许可。
If the request relates to a locally exported file system, a local access routine is invoked to obtain access permissions to the locally exported file system.
如果请求是关于本地输出文件系统,则调用本地访问例程来获得对本地输出文件系统的访问许可。
If the request relates to a locally exported file system, a local access routine is invoked to obtain access permissions to the locally exported file system.
应用推荐