inode

  • 网络索引节点;索引节点对象;索引结点

inodeinode

inode

索引节点

...的数据)被存储在一个单独的数据结构中,该结构被称为索引节点(inode)。

索引节点对象

索引节点对象inode):存储了文件和目录的相关信息(和文件本身是两个不同的概念。它包含的是诸如文件的大小、拥有者 …

索引结点

硬链接是直接指向索引结点(Inode)的指针,系统不会重新分配给它新的Inode。但是创建时需注意:链接文件和被链接文件必须 …

节点表上的

硬连接是直接建立在节点表上的inode),建立硬连接指向一个文件的时候,会更新节点表上面的计数值。举个例子,一个文 …

索引节点号

中通过匹配文件名可以找到对应的索引节点号inode),通过查找索引节点表(inodetable)就可以找到文件在磁盘上的位置…

1
Typically, there is an adequate number of inodes associated with a file system, but running out of inodes is always a possibility. 通常,与一个文件系统相关联的inode的数目足够多,但耗尽inode的可能性始终存在。
2
It first looks to see whether it has a database entry matching both the path and device and inode number from the request. 它首先查看是否有一个与来自请求的路径、设备和inode号相匹配的数据库条目。
3
The inode number is also known as the file serial number and is unique within a particular filesystem. inode号也称为文件序列号,且在特定文件系统内是惟一的。
4
During times like this, you may run into messages that inodes need to be repaired or that an error exists. 此时,您可能会碰到一些需要修复inode或者存在错误的消息。
5
When the deletion message comes in, the daemon notices that there's an old entry in the database (B's file) with the same inode number. 在收到删除消息时,daemon发出通知,指出数据库中的一个旧条目(进行B的文件)具有相同的inode号。
6
The online defragmenter is a simple tool that copies files into a new ext4 inode that refers to contiguous extents. 在线碎片整理程序是一个简单的工具,它将文件复制到引用相邻区段的新ext4inode。
7
Returns the time the file was last changed, or FALSE in case of an error. 返回文件上次inode被修改的时间,如果出错则返回FALSE。
8
An address space object is an object that manages the various pages for the inode within the page cache. 地址空间对象是为inode管理页缓存中的各种页的对象。
9
Rather than restoring the system or even rebuilding the operating system, you can use fsck to repair file systems or correct damaged inodes. 您可以使用fsck来修复文件系统或者修正受损的inode,而不是还原系统、或者甚至重新构建操作系统。
10
As mentioned earlier, when you create a file system in UNIX, about 1 percent of the total disk space is allocated to the inode table. 如前所述,当您在UNIX中创建一个文件系统时,将为inode表分配大约百分之一的总磁盘空间。
11
This structure defines the set of functions for managing inodes within the file system. 这个结构定义一组用来管理这个文件系统中的inode的函数。
12
Because hard links point to an inode, and inodes are only unique within a particular file system, hard links cannot cross file systems. 由于硬链接指向一个inode,且inode仅在特定文件系统内是惟一的,硬链接不能跨越文件系统。
13
The database should have both device and inode numbers (more on this later) and file names in it whenever possible. 数据库应该尽可能同时包含设备、inode号(稍后进一步讨论)和文件名。
14
Files and directories would be nearly useless in UNIX without the helping hand of the inode. 如果没有inode,那么UNIX中的文件和目录将根本无法使用。
15
When the file system is scanned at mount time, the valid inodes can be quickly identified. 在挂载期间扫描文件系统时,可以快速标识有效的inode。
16
Basically, the inode contains all information about a file outside of the actual name of the file and the actual data content of the file. 从根本上讲,inode中包含有关文件的所有信息(除了文件的实际名称以及实际数据内容之外)。
17
When users search for or access a file, the UNIX system searches through the inode table for the correct inode number. 当用户搜索或者访问一个文件时,UNIX系统通过inode表查找正确的inode编号。
18
The -i option of the ls command will display the inode numbers for you. ls命令的-i选项将显示inode号。
19
The inode cache is implemented as two lists and a hash table for faster lookup. 为了实现更快的查找速度,inode缓存被实现为两个列表和一个散列表。
20
In UNIX, directories are actually files that have a few additional settings in their inodes. 在UNIX中,目录本身就是文件,只是在它们的inode中使用了一些附加的设置。
21
This is due to the way JFS2 is implemented with a write-exclusive inode lock, allowing multiple users to read the same file simultaneously. 这是因为JFS2在实现时使用了写独占(write-exclusive)索引节点锁,允许多个用户同时读取相同的文件。
22
The inode represents an object in the file system with a unique identifier. inode表示文件系统中的一个对象,它具有惟一标识符。
23
Linux manages all objects in a file system through an object called an inode (short for index node). Linux通过一个称为inode(indexnode的缩写)的对象管理文件系统中的所有对象。
24
mke2fs is the utility used to create an ext2 filesystem -- creating the super block, inodes, inode table, and etc -- on any device. mke2fs是用于在任何设备上创建ext2文件系统的实用程序—它创建超级块、索引节点以及索引节点表等等。
25
Each file system also includes an inode that lives on disk and provides details about the object specific to the particular file system. 每个文件系统也包含一个位于磁盘上的inode,并且提供关于特定文件系统的特定对象的细节。
26
Ext4 marks unused groups of blocks within the inode table to allow the fsck process to skip them entirely to speed the check process. ext4将未使用的块组标记到inode表中,并让fsck进程忽略它们以加快检查速度。
27
Only file system inodes are stored permanently, where dentry objects are used to improve performance. 仅永久储存文件系统inode,dentry对象的目的是改善性能。
28
Soft links, or symlinks, merely point to another file or directory by name rather than by inode. 软链接或符号链接仅根据名称(而非inode)指向另一个文件或目录。
29
In this case, a directory refers to file, which in turn refers to the inode for the particular file. 在这里,目录引用文件,而文件反过来引用特定文件的inode。
30
You can use the -i option of the ls command to display inode numbers for file and directory entries. 您可以使用ls命令的-i选项显示文件和目录条目的inode号。