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

Linux 6.18.37 · ABI / testing

Generic sysfs device class directory ABI

Kernel device class별 subdirectory·symlink 구성과 userspace가 두 형태를 모두 처리해야 하는 규칙을 설명합니다.

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

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

1. 요약·해설

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

Class directory layout contract

sysfs-class:1-16

각 class entry는 실제 subdirectory 또는 다른 directory를 가리키는 symlink일 수 있으므로 udev 등 userspace는 두 형태를 모두 지원해야 합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 What: /sys/class/
2 Date: February 2006
3 Contact: Greg Kroah-Hartman <[email protected]>
4 Description:
5 The /sys/class directory will consist of a group of
6 subdirectories describing individual classes of devices
7 in the kernel. The individual directories will consist
8 of either subdirectories, or symlinks to other
9 directories.
10
11 All programs that use this directory tree must be able
12 to handle both subdirectories or symlinks in order to
13 work properly.
14
15 Users:
17

3. 한국어 전문 번역

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

Kernel device class directory

1-16
항목한국어 전문 번역
What/sys/class/
Date2006년 2월
ContactGreg Kroah-Hartman <[email protected]>
Description/sys/class directory는 kernel의 개별 device class를 설명하는 subdirectory group으로 구성됩니다. 개별 directory는 subdirectory 또는 다른 directory를 가리키는 symlink로 구성됩니다. 이 directory tree를 사용하는 모든 program은 올바르게 동작하려면 subdirectory와 symlink를 모두 처리할 수 있어야 합니다.
Usersudev <[email protected]>