요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/devices/platform/<platform>/tokens/*
2
Date: November 2017
3
KernelVersion: 4.15
4
Contact: [email protected]
5
Description:
6
A read-only description of Dell platform tokens
7
available on the machine.
9
Each token attribute is available as a pair of
10
sysfs attributes readable by a process with
11
CAP_SYS_ADMIN.
13
For example the token ID "5" would be available
14
as the following attributes:
16
- 0005_location
17
- 0005_value
19
Tokens will vary from machine to machine, and
20
only tokens available on that machine will be
21
displayed.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Dell SMBIOS token sysfs ABI: *
1-21| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/platform/<platform>/tokens/* |
| Date | 2017년 11월 |
| KernelVersion | 4.15 |
| Contact | [email protected] |
| Description | `/sys/devices/platform/<platform>/tokens/*`는 machine에서 사용할 수 있는 Dell platform tokens의 read-only description입니다. 각 token은 `CAP_SYS_ADMIN` capability가 있는 process가 읽을 수 있는 sysfs attribute pair로 제공됩니다. 예를 들어 token ID `5`는 `0005_location`과 `0005_value` attributes로 제공됩니다. Tokens는 machine마다 다르며 해당 machine에 존재하는 tokens만 표시됩니다. |
Token IDLocation attributeValue attributeReader
50005_location0005_valueCAP_SYS_ADMIN process
Token ID를 zero-padded prefix로 사용해 location과 value attributes를 짝지읍니다.
Per-machine token pairs
sysfs-platform-dell-smbios:1-21각 firmware token을 location과 value 두 read-only attributes로 만들며 privileged process에만 노출합니다.