← Documents Documentation/ABI/testing/sysfs-fs-ubifs GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

UBIFS filesystem sysfs ABI

UBIFS node의 magic number, node type, CRC 손상 접근 횟수를 추적하고 remount 때 초기화하는 세 가지 오류 카운터를 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-fs-ubifs
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

Node integrity counters

sysfs-fs-ubifs:1-35

UBIFS가 node access 중 발견한 magic number, embedded type, CRC checksum 손상을 각각 계수하며 세 counter 모두 remount 시 0으로 초기화됩니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 What: /sys/fs/ubifsX_Y/error_magic
2 Date: October 2021
3 KernelVersion: 5.16
4 Contact: linux-mtd@lists.infradead.org
5 Description:
6 Exposes magic errors: every node starts with a magic number.
7
8 This counter keeps track of the number of accesses of nodes
9 with a corrupted magic number.
10
11 The counter is reset to 0 with a remount.
12
13 What: /sys/fs/ubifsX_Y/error_node
14 Date: October 2021
15 KernelVersion: 5.16
16 Contact: linux-mtd@lists.infradead.org
17 Description:
18 Exposes node errors. Every node embeds its type.
19
20 This counter keeps track of the number of accesses of nodes
21 with a corrupted node type.
22
23 The counter is reset to 0 with a remount.
24
25 What: /sys/fs/ubifsX_Y/error_crc
26 Date: October 2021
27 KernelVersion: 5.16
28 Contact: linux-mtd@lists.infradead.org
29 Description:
30 Exposes crc errors: every node embeds a crc checksum.
31
32 This counter keeps track of the number of accesses of nodes
33 with a bad crc checksum.
34
35 The counter is reset to 0 with a remount.
36

3. 한국어 전문 번역

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

UBIFS error magic

1-12
항목한국어 전문 번역
What/sys/fs/ubifsX_Y/error_magic
Date2021년 10월
KernelVersion5.16
Contactlinux-mtd@lists.infradead.org
DescriptionMagic 오류를 노출합니다. 모든 node는 magic number로 시작하며, 이 counter는 손상된 magic number를 가진 node에 접근한 횟수를 추적합니다. Remount하면 counter가 `0`으로 reset됩니다.

UBIFS error node

13-24
항목한국어 전문 번역
What/sys/fs/ubifsX_Y/error_node
Date2021년 10월
KernelVersion5.16
Contactlinux-mtd@lists.infradead.org
DescriptionNode 오류를 노출합니다. 모든 node는 자체 type을 내장하며, 이 counter는 손상된 node type을 가진 node에 접근한 횟수를 추적합니다. Remount하면 counter가 `0`으로 reset됩니다.

UBIFS error crc

25-35
항목한국어 전문 번역
What/sys/fs/ubifsX_Y/error_crc
Date2021년 10월
KernelVersion5.16
Contactlinux-mtd@lists.infradead.org
DescriptionCRC 오류를 노출합니다. 모든 node는 CRC checksum을 내장하며, 이 counter는 잘못된 CRC checksum을 가진 node에 접근한 횟수를 추적합니다. Remount하면 counter가 `0`으로 reset됩니다.
UBIFS node integrity counters
AttributeCorruption detectedReset
error_magicNode magic numberRemount to 0
error_nodeEmbedded node typeRemount to 0
error_crcEmbedded CRC checksumRemount to 0

각 counter는 손상 유형별 접근 횟수를 누적하며 remount에서 초기화됩니다.