テクノロジー業界2010

inodeとは?

inode @ wikipedia

inode pointer structure @ wikipedia

definition

# Pointers to the disk blocks that store the file's contents (see inode pointer structure).
POSIX inode description
The POSIX standard mandates filesystem behaviour strongly influenced by traditional UNIX filesystems. Regular files are required to have the following attributes:
   * The length of the file in bytes.
   * Device ID (this identifies the device containing the file).
   * The User ID of the file's owner.
   * The Group ID of the file.
   * The file mode which determines the file type and how the file's owner, its group, and others can access the file.
   * Additional system and user flags to further protect the file (limit its use and modification).
   * Timestamps telling when the inode itself was last changed (ctime, change time), the file content last modified (mtime, modification time), and last accessed (atime, access time).
   * A link count telling how many hard links point to the inode.
   * Pointers to the disk blocks that store the file's contents (see inode pointer structure).
The stat system call retrieves a file's inode number and some of the information in the inode.

更新履歴