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 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.

1. 요약·해설

원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.

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
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
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
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. 한국어 전문 번역

영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.

UBIFS error magic

1-12
항목한국어 전문 번역
What/sys/fs/ubifsX_Y/error_magic
Date2021년 10월
KernelVersion5.16
Contact[email protected]
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
Contact[email protected]
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
Contact[email protected]
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에서 초기화됩니다.