Kernel image・設定・buildと導入1 / 5

Imageとmodule

Kernelはprocess、memory、device、filesystem、network等の基盤を提供する。driverをkernel imageへ組み込むy、後からloadするmoduleのm、無効のnは別の構成である。moduleは稼働kernelに対応する/lib/modules/版/以下へ置く。

vmlinuxは通常ELF形式の非圧縮image、vmlinuzは一般的な圧縮boot imageの名称である。x86のzImage/bzImageはboot用imageで、bzImageのbzをbzip2圧縮の指定と取り違えない。kernelやarchitectureによりgzip、xz等の圧縮を選べる。sourceのDocumentation/、実行中のuname -r、/boot/config-版、.configを対応させる。

Stable/longtermは保守されるrelease系列を区分する。配布元のbackportもあるため、upstreamの番号だけで脆弱性の修正有無を決めない。

学習パスへ
参考資料