modules.dep(5) modules.dep(5) 名前 modules.dep — モジュールの依存関係のリスト 説明 module-init-tools の depmod が生成する modules.dep には、 modules.dep のあるディレクトリ /lib/modules/version 以下のディレクトリにある全て の モジュールの依存関係が列挙されている。 空 行と ’#’ で始まる (空白は無視される) 行は無視される。他の行は "file- name: [filename]*" という形をしており、最初のファイル名のモジュールに対 する完全な依存関係が降順で列挙されている。 たとえば、 /lib/modules/2.5.53/kernel/a.ko が同じディレクトリの b.ko と c.ko に依存しており、同様に c.ko が b.ko に依存している場合、ファイルは 次のようになっている: # This is a comment. /lib/modules/2.5.53/kernel/a.ko: /lib/modules/2.5.53/kernel/c.ko /lib/modules/2.5.53/kernel/b.ko /lib/modules/2.5.53/kernel/b.ko: /lib/modules/2.5.53/kernel/c.ko: /lib/modules/2.5.53/kernel/b.ko こ のファイルは modprobe がモジュールをロードする順序を知るために用いら れる (モジュールは右から左の順にロードされ、左から右の順に削除さ れ る) 。 著作権 こ の マニュアルページの著作権表示は Copyright 2002, Rusty Russell, IBM Corporation. 関連項目 modprobe(8) modules.dep(5)
MODULES.DEP(5) MODULES.DEP(5) NAME modules.dep - List of module dependencies DESCRIPTION The modules.dep as generated by module-init-tools depmod, lists the dependencies for every module in the directories under /lib/mod- ules/version, where modules.dep is. Blank lines, and lines starting with a ’#’ (ignoring spaces) are ignored. Other lines are of the form "filename: [filename]*", listing the complete dependencies for the first filename in descending order. For example, if /lib/modules/2.6.29/kernel/a.ko depended on b.ko and c.ko in the same directory, and c.ko depended on b.ko as well, the file might look like: # This is a comment. /lib/modules/2.6.29/kernel/a.ko: /lib/modules/2.6.29/kernel/c.ko /lib/modules/2.6.29/kernel/b.ko /lib/modules/2.6.29/kernel/b.ko: /lib/modules/2.6.29/kernel/c.ko: /lib/modules/2.6.29/kernel/b.ko This file is used by modprobe to know the order in which to load mod- ules (they are loaded right to left, and removed left to right). COPYRIGHT This manual page Copyright 2002, Rusty Russell, IBM Corporation. SEE ALSO depmod(8), modprobe(8) 2002-12-27 MODULES.DEP(5)
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa