rmmod(8) rmmod(8) 名前 rmmod — Linux カーネルからモジュールを削除する単純なプログラム 書式 rmmod [-f] [-w] [-s] [-v] [modulename] 説明 rmmod はモジュールをカーネルから削除する取るに足らないプログラムである 。ほとんどのユーザは rmmod よりも、 modprobe(8) に -r オプションを付 け て使いたいと思うだろう。 オプション -v --verbose プ ログラムが何をしているかに関するメッセージを表示する。通常 、 rmmod は何かまずいことが起こった場合に限ってメッセージを表 示する。 -f --force こ のオプションは非常に危険である。カーネルがコンパイルされる とき、 CONFIG_MODULE_FORCE_UNLOAD がセットされていなければ 何 も 起きない。このオプションを使うと、使用中のモジュールや、削 除されるように設計されていないモジュール、削除が安全でない と マークされているモジュールを削除することができる (lsmod(8) を 参照) 。 -w --wait 通常、 rmmod は使用中のモジュールのアンロードは拒否する。この オプションを使うと、 rmmod はモジュールを隔離し、モジュールが 使用中でなくなるまで待つ。新たにそのモジュールを使うことは で き ないが、現在のユーザが使用をやめるかどうかはあなた次第であ る。使用カウントに関する情報は lsmod(8) を参照。 -s --syslog エラーを標準エラーではなく、 syslog に送る。 -V --version プログラムのバージョンを表示し、終了する。古いカーネルで実 行 した場合の注意については下を参照。 下位互換性 このバージョンの rmmod は、カーネル 2.5.48 およびそれ以降のためのもので ある。古い形式のモジュールに対応したカーネルを検出すると (そのための ほ とんどの処理はユーザ空間で行なわれる) 、その場で rmmod.old を実行しよう とする。そのため、ユーザは全く意識しなくてよい。 著作権 このマニュアルページの著作権表示は Copyright 2002, Rusty Russell, IBM Corporation. 関連項目 modprobe(8), insmod(8), lsmod(8), rmmod.old(8) rmmod(8)
RMMOD(8) RMMOD(8) NAME rmmod - simple program to remove a module from the Linux Kernel SYNOPSIS rmmod [ -f ] [ -w ] [ -s ] [ -v ] [ modulename ] DESCRIPTION rmmod is a trivial program to remove a module from the kernel. Most users will want to use modprobe(8) with the -r option instead. OPTIONS -v --verbose Print messages about what the program is doing. Usually rmmod prints messages only if something goes wrong. -f --force This option can be extremely dangerous: it has no effect unless CONFIG_MODULE_FORCE_UNLOAD was set when the kernel was compiled. With this option, you can remove modules which are being used, or which are not designed to be removed, or have been marked as unsafe (see lsmod(8)). -w --wait Normally, rmmod will refuse to unload modules which are in use. With this option, rmmod will isolate the module, and wait until the module is no longer used. Nothing new will be able to use the module, but it’s up to you to make sure the current users eventually finish with it. See lsmod(8)) for information on usage counts. -s --syslog Send errors to syslog instead of standard error. -V --version Show version of program and exit. COPYRIGHT This manual page Copyright 2002, Rusty Russell, IBM Corporation. SEE ALSO modprobe(8), insmod(8), lsmod(8) 2002-12-27 RMMOD(8)
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa