← Documents Documentation/filesystems/ext4/inode_table.rst GitHub 원문 ↗

Linux 6.18.37 · Filesystems

Inode Table

mkfs 시 할당되는 ext4 inode table의 위치 결정 규칙에 대한 전문 번역입니다.

Source pathDocumentation/filesystems/ext4/inode_table.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

inode_table.rst:1-9

inode table은 mkfs 시 그룹별로 정적 할당되고 group descriptor와 superblock의 정보로 위치와 크기를 찾습니다.

핵심 흐름
mkfs에서 table 할당descriptor에 시작 블록 기록superblock에 그룹당 inode 수 기록

문서의 주요 관계를 짧게 정리합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0
2
3 Inode Table
4 -----------
5
6 Inode tables are statically allocated at mkfs time. Each block group
7 descriptor points to the start of the table, and the superblock records
8 the number of inodes per group. See :doc:`inode documentation <inodes>`
9 for more information on inode table layout.
10

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

inode table

1-9

inode table은 `mkfs` 실행 시 정적으로 할당됩니다. 각 block group descriptor는 해당 그룹 inode table의 시작 위치를 가리키며, superblock은 그룹당 inode 수를 기록합니다.

inode table의 개별 inode 배치에 관한 자세한 내용은 `inodes` 문서를 참조합니다.

inode table 위치 확인
superblock에서 그룹당 inode 수 확인대상 inode가 속한 block group 계산block group descriptor 선택`bg_inode_table_lo/hi`에서 table 시작 블록 확인`inodes` 형식에 따라 대상 inode entry 계산

파일시스템 전역 정보에서 특정 그룹의 inode table을 찾는 경로입니다.

.. SPDX-License-Identifier: GPL-2.0

Inode Table
-----------

Inode tables are statically allocated at mkfs time.  Each block group
descriptor points to the start of the table, and the superblock records
the number of inodes per group.  See :doc:`inode documentation <inodes>`
for more information on inode table layout.