요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/devices/.../removable
2
Date: May 2021
3
Contact: Rajat Jain <rajatxjain@gmail.com>
4
Description:
5
Information about whether a given device can be removed from the
6
platform by the user. This is determined by its subsystem in a
7
bus / platform-specific way. This attribute is only present for
8
devices that can support determining such information:
10
=========== ===================================================
11
"removable" device can be removed from the platform by the user
12
"fixed" device is fixed to the platform / cannot be removed
13
by the user.
14
"unknown" The information is unavailable / cannot be deduced.
15
=========== ===================================================
17
Currently this is only supported by USB (which infers the
18
information from a combination of hub descriptor bits and
19
platform-specific data such as ACPI) and PCI (which gets this
20
from ACPI / device tree).
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Platform device removability
1-20| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/devices/.../removable |
| Date | 2021년 5월 |
| Contact | Rajat Jain <rajatxjain@gmail.com> |
| Description | 이 attribute는 사용자가 해당 device를 platform에서 제거할 수 있는지에 관한 정보를 제공합니다. 판정 방법은 subsystem이 bus/platform별 방식으로 정하며, 이러한 정보를 판정할 수 있는 device에만 attribute가 존재합니다. "removable"은 사용자가 device를 platform에서 제거할 수 있음을, "fixed"는 device가 platform에 고정되어 사용자가 제거할 수 없음을, "unknown"은 정보를 이용할 수 없거나 추론할 수 없음을 뜻합니다. 현재 USB와 PCI만 지원합니다. USB는 hub descriptor bits와 ACPI 같은 platform-specific data의 조합으로 정보를 추론하고, PCI는 ACPI 또는 device tree에서 정보를 얻습니다. |
ValueMeaning
removable사용자가 platform에서 device를 제거할 수 있음
fixedPlatform에 고정되어 사용자가 제거할 수 없음
unknown정보를 이용할 수 없거나 추론할 수 없음
원문의 ASCII value table을 동일한 의미의 구조화 표로 옮겼습니다.
SubsystemInformation source
USBHub descriptor bits + platform data such as ACPI
PCIACPI or device tree
USB와 PCI가 removability를 판정할 때 사용하는 source입니다.
User-removability classification
sysfs-devices-removable:1-20지원되는 device에서만 나타나며 USB는 hub descriptor와 ACPI 정보를, PCI는 ACPI 또는 device tree 정보를 바탕으로 제거 가능성을 판정합니다.