Initrd
Initrd (сокращение от англ. Initial RAM Disk, диск в оперативной памяти для начальной инициализации) — временная файловая система, используемая ядром Linux при начальной загрузке. Initrd обычно используется для начальной инициализации перед монтированием «настоящих» файловых систем. В Linux Kernel HOWTO (руководстве о сборке ядра) пишут, что initrd призван решить проблему курицы и яйца для модульного ядра: для монтирования файловой системы необходим модуль для работы с диском и файловой системой, а для чтения модуля необходима файловая система, с которой этот модуль читается[1].
В ядре Linux 2.6 появилась новая концепция загрузочного диска — initramfs — он представляет собой сжатый gzip'ом cpio-архив.
На 2024 год в зависимости от того, какие алгоритмы были статически скомпилированы в ядро, оно может распаковывать образы initrd/initramfs, сжатые с помощью gzip, bzip2, LZMA, XZ, LZO, LZ4 и zstd.
Примечания
- ↑ Kwan Lowe. Kernel Rebuild Guide (англ.). Дата обращения: 4 ноября 2008. Архивировано 29 августа 2010 года.
Ссылки
- M. Tim Jones. Linux initial RAM disk (initrd) overview (англ.). IBM developerWorks (31 июля 2006). — Learn about its anatomy, creation, and use in the Linux boot process. Дата обращения: 4 ноября 2008.
- Дмитрий Куликовский. Общее представление о initrd (4 июня 2007). Дата обращения: 15 января 2009. Архивировано из оригинала 25 января 2012 года.
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.