^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) .. SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Special inodes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) --------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) ext4 reserves some inode for special features, as follows:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) .. list-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) :widths: 6 70
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) :header-rows: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) * - inode Number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - Purpose
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) * - 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - Doesn't exist; there is no inode 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) * - 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) - List of defective blocks.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) * - 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) - Root directory.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) * - 3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) - User quota.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) * - 4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) - Group quota.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) * - 5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) - Boot loader.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) * - 6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) - Undelete directory.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) * - 7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) - Reserved group descriptors inode. (“resize inode”)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) * - 8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) - Journal inode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) * - 9
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) - The “exclude” inode, for snapshots(?)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) * - 10
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) - Replica inode, used for some non-upstream feature?
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) * - 11
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) - Traditional first non-reserved inode. Usually this is the lost+found directory. See s\_first\_ino in the superblock.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)