摘自《Linux programming by example》(作者:Arnold Robbins)
A partition (physical or logical) that contains file data and metadata, information about files (as opposed to
the file contents, which is information inthe files). Such metadata include file ownership, permissions, size,and so on, as well as information for use by the operating system in locating file contents.
Inode:
Short for "index node," initially abbreviated "i-node" and now written "inode." A small block of information
describing everything about a file exceptthe file's name(s). The number of inodes, and thus the number ofunique files per filesystem, is set and made permanent when the filesystem is created. 'df -i' can tell you
how many inodes you have and how many are used.
Conceptually, each disk block contains either some number of inodes, or file data. The inode, in turn, contains
pointers to the blocks that contain the file's data.

本文介绍了Linux文件系统的概念,包括分区与文件元数据的作用。深入解析了inode(索引节点)的功能及其如何存储文件信息,如权限、所有权等,并探讨了inode与文件数据之间的关系。
1601

被折叠的 条评论
为什么被折叠?



