Inodeとは?
inodeは、Unix filesystemがファイルを記述するために使うデータ構造で、サイズ、権限、timestamp、所有権、data blockへのポインタを保持しますが、名前は保持しません。ディレクトリエントリが名前をinode番号に対応づけるため、1つのinodeが複数の名前を持てます。filesystemは、作成時に決まる有限個のinodeを持ちます。
なぜ重要か
buildは、何百万もの小さなファイルを作ってinodeを使い果たすと、空きディスクがあってもno-spaceエラーで失敗することがあります。inodeは、hard linkやrenameがデータをコピーせずに機能する仕組みも説明します。
関連ガイド
What Is a Hard Link?A hard link is an additional directory entry pointing to the same inode as a file, so multiple names refer to…
What Is a Symbolic Link Target?A symbolic link target is the path a symlink stores and points to; the link is a small file holding that path…
What Is an Overlay Filesystem?An overlay filesystem stacks a writable layer on top of read-only layers, presenting a merged view while keep…