はじめに 個人的なLinuxに関する勉強メモです。想像の部分も多々あり。また間違いもあると思います。この情報を利用する際は、完全自己責任でお願いします。 環境 CentOS release 6.5 (Final) カーネルモジュールとは? カーネルの機能をモジュールとして外部ファイルにしたもの。 ハードウェアを扱う為のドライバ、ファイルシステムやTCP/IP機能を利用する為のドライバ等があり。 必要に応じてカーネルに組み込んだり、取り外したりできる。 モジュールの格納先は/lib/modules/`uname -r`ディレクトリ ファイルの拡張子は.ko 以下のメリットがあり。 カーネルイメージのファイルサイズを小さくできる。 サードパーティによるモジュール追加時にカーネルコンパイルが不要 カーネルモジュールを管理するコマンド 以下のコマンドでカーネルにモジュールを追加したり、取り外したり