Inode Overview (DRAFT) |
This collection of topics describes what inodes are, how DXi systems use inodes, and how the blockpool uses inodes for space... (need to complete once we get further along with the topics.)
An inode (index node) is a data structure on a filesystem on Linux and other Unix-like operating systems that stores all the information about a file system object (file, device node, socket, pipe, etc.), except data content and file name.1 2
A file system relies on data structures about the files, beside the file content. The former is called metadata—data that describes data. Each file is associated with an inode, which is identified by an integer number, often referred to as an i-number or inode number. 1
Inodes store information about files and directories (folders), such as file ownership, access mode (read, write, execute permissions), and file type. On many types of file system implementations, the maximum number of inodes is fixed at file system creation, limiting the maximum number of files the file system can hold. A typical allocation heuristic for inodes in a file system is one percent of total size. 1
The inode number indexes a table of inodes in a known location on the device; from the inode number, the file system driver portion of the kernel can access the contents of the inode, including the location of the file allowing access to the file.1
File names and directory implications:1
For more information, refer to the References section.
This page was generated by the BrainKeeper Enterprise Wiki, © 2018 |