요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/firmware/initrd
2
Date: December 2023
3
Contact: Alexander Graf <graf@amazon.com>
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. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Retained boot initrd
1-8| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/firmware/initrd |
| Date | 2023년 12월 |
| Contact | Alexander Graf <graf@amazon.com> |
| 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 설정이라는 두 조건을 모두 충족해야 의미가 있습니다.