普段パソコンを使っていて、「同じファイルが別の場所にもあるように見える」状況に出会ったことはありませんか? Unix の世界では、こうした仕組みを “リンク” と呼びます。そしてこのリンクを理解する鍵が inode(アイノード) と呼ばれる概念なん ...
この処理は通常非常に高速に完了するが、その理由とOS内部でのファイル管理構造を整理しておく。 ファイル管理構造 Unix系ファイルシステムでは以下の構造でファイルが管理される。 ディレクトリ ↓ ファイル名 → inode番号 ↓ inode ↓ データブロック ...
The inode (index node) is the on-disk data structure that stores everything the kernel needs to know about a file -- except its name. Every file, directory, symlink, and special file has exactly one ...
The ls command is probably one of the first commands that anyone using Unix learns, but it only shows a small portion of the information that is available with the stat command. The stat command pulls ...
It doesn’t take very much time working on a Unix system before your attention is drawn to the mysteries of the inode, especially these days with the concept of metadata getting so much public ...