inode(索引节点):类 Unix 文件系统中的一种数据结构,用来保存文件或目录的元数据(如权限、所有者、时间戳、大小、数据块位置等)。文件名通常存放在目录项中,并通过目录项指向对应的 inode。(注:不同文件系统实现细节略有差异。)
/ˈaɪnoʊd/
The file’s inode stores its permissions and owner.
文件的 inode 保存它的权限和所有者信息。
Even if you rename the file, the inode number often stays the same, because the directory entry changes while the inode remains linked to the same data blocks.
即使你重命名文件,inode 号通常也不会变,因为变化的是目录项,而 inode 仍然指向同一组数据块。
inode 来自 i-node(也写作 i node),是 index node(索引节点) 的缩写,源于早期 UNIX 文件系统的设计术语,用于表示“用索引方式定位文件数据与元信息的节点”。