summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/ext4/special_inodes.rst
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-10-06 01:20:08 +0200
committerTheodore Ts'o <tytso@mit.edu>2018-10-06 01:20:08 +0200
commit8a98ec7c7b3901330a036af0f62f523c31d763da (patch)
tree70194bc8bf562d3aa9053ffc41ceba61676f864e /Documentation/filesystems/ext4/special_inodes.rst
parentdocs: move ext4 administrative docs to admin-guide/ (diff)
downloadlinux-8a98ec7c7b3901330a036af0f62f523c31d763da.tar.xz
linux-8a98ec7c7b3901330a036af0f62f523c31d763da.zip
docs: promote the ext4 data structures book to top level
Move the ext4 data structures book to Documentation/filesystems/ext4/ since the administrative information moved elsewhere. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'Documentation/filesystems/ext4/special_inodes.rst')
-rw-r--r--Documentation/filesystems/ext4/special_inodes.rst38
1 files changed, 38 insertions, 0 deletions
diff --git a/Documentation/filesystems/ext4/special_inodes.rst b/Documentation/filesystems/ext4/special_inodes.rst
new file mode 100644
index 000000000000..9061aabba827
--- /dev/null
+++ b/Documentation/filesystems/ext4/special_inodes.rst
@@ -0,0 +1,38 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+Special inodes
+--------------
+
+ext4 reserves some inode for special features, as follows:
+
+.. list-table::
+ :widths: 6 70
+ :header-rows: 1
+
+ * - inode Number
+ - Purpose
+ * - 0
+ - Doesn't exist; there is no inode 0.
+ * - 1
+ - List of defective blocks.
+ * - 2
+ - Root directory.
+ * - 3
+ - User quota.
+ * - 4
+ - Group quota.
+ * - 5
+ - Boot loader.
+ * - 6
+ - Undelete directory.
+ * - 7
+ - Reserved group descriptors inode. (“resize inode”)
+ * - 8
+ - Journal inode.
+ * - 9
+ - The “exclude” inode, for snapshots(?)
+ * - 10
+ - Replica inode, used for some non-upstream feature?
+ * - 11
+ - Traditional first non-reserved inode. Usually this is the lost+found directory. See s\_first\_ino in the superblock.
+