요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
1
What: /sys/firmware/initrd
2
Date: December 2023
3
Contact: Alexander Graf <[email protected]>
4
Description:
5
When the kernel was booted with an initrd and the
6
"retain_initrd" option is set on the kernel command
7
line, /sys/firmware/initrd contains the contents of the
8
initrd that the kernel was booted with.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
Retained boot initrd
1-8| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/firmware/initrd |
| Date | 2023년 12월 |
| Contact | Alexander Graf <[email protected]> |
| Description | Kernel이 initrd와 함께 boot되었고 kernel command line에 `retain_initrd` option이 설정된 경우 `/sys/firmware/initrd`에 boot에 사용한 initrd의 contents가 들어 있습니다. |
Boot kernel with an initrd→Set retain_initrd on kernel command line→Kernel retains initrd contents→Expose contents at /sys/firmware/initrd
두 조건을 모두 만족할 때만 boot initrd를 sysfs에서 읽을 수 있습니다.
Conditional initrd retention
sysfs-firmware-initrd:1-8이 attribute는 initrd를 사용한 boot와 retain_initrd 설정이라는 두 조건을 모두 충족해야 의미가 있습니다.