depmod(depend module)
depmod(depend module)功能说明:分析可载入模块的相依性。
语 法:depmod [-adeisvV][-m <文件>][--help][模块名称]
补充说明:depmod可检测模块的相依性,供modprobe在安装模块时使用。
参 数:
-a或--all 分析所有可用的模块。
-d或debug 执行排错模式。
-e 输出无法参照的符号。
-i 不检查符号表的版本。
-m<文件>或system-map<文件> 使用指定的符号表文件。
-s或--system-log 在系统记录中记录错误。
-v或--verbose 执行时显示详细的信息。
-V或--version 显示版本信息。
--help 显示帮助。
depmod
depmod [options] modules
System administration command. Create a dependency file for the modules given on the command line. This dependency file can be used by modprobe to automatically load the relevant modules. The normal use of depmod is to include the line /sbin/depmod -a in one of the files in /etc/rc.d so that the correct module dependencies will be available after booting the system.
Options
Create dependencies for all modules listed in /etc/modules.conf.
Specify a base directory to use instead of /lib/modules.
Print a list of all unresolved symbols.
Debug mode. Show all commands being issued.
Print help message, then exit.
Write dependency file to standard output.
Don't display error messages about missing symbols.
Allow root to load modules not owned by root.
Write error messages to the syslog daemon instead of to standard error.
Print a list of all processed modules.
Check timestamps and update the dependency file if anything has changed.
Use the specified configuration file instead of /etc/modules.conf. May also be set using the MODULECONF environment variable.
Use the specified kernel symbol file to build dependencies. Usually this is either a copy of a system's System.map file or the output of /proc/ksyms.
Print version number.
Files
Information about modules: which ones depend on others, and which directories correspond to particular types of modules.
Programs that depmod relies on.