1 .\" Copyright (c) 1994, 1995 Jacques Gelinas (jacques@solucorp.qc.ca)
2 .\" Copyright (c) 1995, 1999 Bjorn Ekwall (bj0rn@blox.se)
3 .\" This program is distributed according to the Gnu General Public License.
4 .\" See the file COPYING in the base distribution directory
6 .\" Translated Sun Aug 15 10:53:46 JST 1999
7 .\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
8 .\" Updated Thu 12 Oct 2000 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
9 .\" Updated Sat 5 Jan 2002 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
10 .\" Updated Fri 24 Apr 2002 by Kentaro Shirakata <argrath@ub32.org>
11 .\" Updated Sun 23 Feb 2003 by Kentaro Shirakata <argrath@ub32.org>
13 .TH DEPMOD 8 "January 26, 2002" Linux "Linux Module Support"
15 .\"O depmod \- handle dependency descriptions for loadable kernel modules
17 depmod \- ¥í¡¼¥À¥Ö¥ë¥«¡¼¥Í¥ë¥â¥¸¥å¡¼¥ë¤Î°Í¸´Ø·¸¤Îµ½Ò¤ò°·¤¦
22 .RI [\-C\ configfile "] [\-F\ " kernelsyms "] [\-b " basedirectory ]
23 .RI [ forced_version ]
25 .B depmod \fR[\-enqrsuv] [\-F \fIkernelsyms\fR] module1.o module2.o ...
32 .\"O utilities are intended
33 .\"O to make a Linux modular kernel manageable for all users,
34 .\"O administrators and distribution maintainers.
38 ¤Ï¡¢ Linux ¤Î¥â¥¸¥å¡¼¥ë²½¥«¡¼¥Í¥ë¤ò´ÉÍý¤¹¤ë¤¿¤á¤Î¡¢
39 ¥æ¡¼¥¶¡¼¡¦´ÉÍý¼Ô¡¦¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¥á¥ó¥Æ¥Ê¸þ¤±¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤Ç¤¢¤ë¡£
42 .\"O creates a "Makefile"-like dependency file, based on the symbols it finds
43 .\"O in the set of modules mentioned on the command line
44 .\"O or from the directories specified in the configuration file.
45 .\"O This dependency file is later used by
47 .\"O to automatically load the correct module or stack of modules.
49 ¤Ï¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç»ØÄꤵ¤ì¤¿¥â¥¸¥å¡¼¥ë
50 (¤¢¤ë¤¤¤ÏÀßÄê¥Õ¥¡¥¤¥ë¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤¢¤ë¥â¥¸¥å¡¼¥ë)
51 ¤Î¥»¥Ã¥È¤Ë¤¢¤ë¥·¥ó¥Ü¥ë¤Ë´ð¤Å¤¡¢
52 "Makefile" Ū¤Ê°Í¸´Ø·¸¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ë¡£
54 .\"O The normal use of
56 .\"O is to include the line
59 .\"O .B "/sbin/depmod \-a"
62 .\"O somewhere in the rc-files
65 .\"O so that the correct module dependencies will be available
66 .\"O immediately after booting the system.
70 ¤Ë¤¢¤ë rc ¥Õ¥¡¥¤¥ë¤Î¤É¤ì¤«¤Ë
76 ¤È¤¤¤¦¹Ô¤òÆþ¤ì¤ë¤³¤È¤Ç¤¢¤ë¡£
77 ¤³¤ì¤Ë¤è¤ê¡¢Àµ¤·¤¤¥â¥¸¥å¡¼¥ë¤Î°Í¸´Ø·¸¤ò¥·¥¹¥Æ¥à¤Îµ¯Æ°Ä¾¸å¤Ë»ÈÍѤǤ¤ë¡£
78 .\"O Note that the option
81 .\"O For boot-up purposes, the option
83 .\"O might be more appropriate since that make depmod silent about
84 .\"O unresolved symbols.
87 ¥ª¥×¥·¥ç¥ó¤Ï¾Êά²Äǽ¤Ç¤¢¤ë¡£
90 ¥ª¥×¥·¥ç¥ó¤ÎÊý¤¬¤è¤êŬÀڤǤ¢¤ë¡£
91 ¤³¤Á¤é¤Ï²ò·è¤Ç¤¤Ê¤«¤Ã¤¿¥·¥ó¥Ü¥ë¤Ë´Ø¤¹¤ë¥ï¡¼¥Ë¥ó¥°¤ò½ÐÎϤ·¤Ê¤¤¡£
93 .\"O It is also possible to create the dependency file immediately
94 .\"O after compiling a new kernel.
95 .\"O If you do "\fBdepmod\ -a\ 2.2.99\fR"
96 .\"O when you have compiled kernel 2.2.99 and
97 .\"O its modules the first time, while still running e.g. 2.2.98, the file will
98 .\"O be created in the correct place.
99 ¿·¤·¤¤¥«¡¼¥Í¥ë¤Î¥³¥ó¥Ñ¥¤¥ëľ¸å¤Ë°Í¸´Ø·¸¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ë¤³¤È¤â¤Ç¤¤ë¡£
100 Î㤨¤Ð 2.2.98 ¥«¡¼¥Í¥ë¤Î¤â¤È¤Ç
101 ¥«¡¼¥Í¥ë 2.2.99 ¤È¤½¤Î¥â¥¸¥å¡¼¥ë¤ò½é¤á¤Æ¥³¥ó¥Ñ¥¤¥ë¤·¤¿¤È¤¡¢
102 "\fBdepmod\ -a\ 2.2.99\fR" ¤È¤¹¤ì¤Ð¡¢Àµ¤·¤¤°ÌÃ֤˥ե¡¥¤¥ë¤¬ºîÀ®¤µ¤ì¤ë¡£
103 .\"O In this case however,
104 .\"O the dependencies on the kernel will not be guaranteed to be correct.
106 .\"O .BR \-F ,\ \-C\ and\ \-b
107 .\"O above for more information on handling this.
109 ¥«¡¼¥Í¥ë¤Ø¤Î°Í¸´Ø·¸¤ÏÀµ¤·¤¤¤È¤ÏÊݾڤµ¤ì¤Ê¤¤¡£
110 ¤³¤Î°·¤¤¤Ë´Ø¤·¤Æ¤Ï¡¢¾åµ¤Î
111 .BR \-F ", " \-C ", " \-b
112 ³Æ¥ª¥×¥·¥ç¥ó¤ÎÀâÌÀ¤ò»²¾È¤Î¤³¤È¡£
114 .\"O While building the relationship between modules and the symbols
115 .\"O exported by other modules,
117 .\"O does not consider the GPL status of the modules nor of the exported
118 .\"O symbols. That is, depmod will not flag an error if a module without a
119 .\"O GPL compatible license refers to a GPL only symbol (EXPORT_SYMBOL_GPL
120 .\"O in the kernel). However insmod will refuse to resolve GPL only symbols
121 .\"O for non-GPL modules so the actual load will fail.
122 ¥â¥¸¥å¡¼¥ë¤È¡¢Â¾¤Î¥â¥¸¥å¡¼¥ë¤«¤é¥¨¥¯¥¹¥Ý¡¼¥È¤µ¤ì¤¿¥·¥ó¥Ü¥ë¤È¤Î´Ø·¸¤ò
125 ¤Ï¥â¥¸¥å¡¼¥ë¤ä¥¨¥¯¥¹¥Ý¡¼¥È¤µ¤ì¤¿¥·¥ó¥Ü¥ë¤Î GPL ¾õÂÖ¤ò¹Íθ¤·¤Ê¤¤¡£
126 ¤Ä¤Þ¤ê¡¢depmod ¤Ï GPL ¸ß´¹¤Ç¤Ê¤¤¥é¥¤¥»¥ó¥¹¤Î¥â¥¸¥å¡¼¥ë¤¬ GPL ÀìÍÑ¥·¥ó¥Ü¥ë
127 (¥«¡¼¥Í¥ëÃæ¤Î EXPORT_SYMBOL_GPL)¤ò»²¾È¤·¤Æ¤â¥¨¥é¡¼¤ò½Ð¤µ¤Ê¤¤¡£
128 ¤·¤«¤·¡¢insmod ¤Ï Èó GPL ¥â¥¸¥å¡¼¥ë¤ò GPL ÀìÍÑ¥·¥ó¥Ü¥ë¤Ç²ò·è¤¹¤ë¤³¤È¤ò
129 µñÈݤ¹¤ë¤Î¤Ç¡¢¼ÂºÝ¤ÎÆɤ߹þ¤ß¤Ï¼ºÇÔ¤¹¤ë¡£
134 .\"O Search for modules in all directories specified in the (optional)
135 .\"O configuration file
136 .\"O .I /etc/modules.conf\fR.
139 ¤¬¤¢¤ì¤Ð¡¢¤½¤³¤Ç»ØÄꤵ¤ì¤Æ¤¤¤ëÁ´¤Æ¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ç¥â¥¸¥å¡¼¥ë¤ò¸¡º÷¤¹¤ë¡£
141 .BR \-A ", " \-\-quick
142 .\"O Compare file timestamps and, if necessary, act like
143 .\"O .BR "depmod \-a" .
144 .\"O This option only updates the dependency file if anything has changed.
145 ¥Õ¥¡¥¤¥ë¤Î¥¿¥¤¥à¥¹¥¿¥ó¥×¤òÈæ³Ó¤·¡¢¤µ¤é¤ËɬÍפʤé¤Ð
147 ¤ÈƱ¤¸¤è¤¦¤Ë¿¶¤ëÉñ¤¦¡£
148 ¤³¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢²¿¤«Êѹ¹¤¬¤¢¤Ã¤¿¾ì¹ç¤Ë¤Î¤ß
149 °Í¸´Ø·¸¥Õ¥¡¥¤¥ë¤ò¹¹¿·¤¹¤ë¡£
151 .BR \-e ", " \-\-errsyms
152 .\"O Show all the unresolved symbols for each module.
153 ³Æ¥â¥¸¥å¡¼¥ë¤´¤È¤Ë¡¢²ò·è¤µ¤ì¤Æ¤¤¤Ê¤¤Á´¤Æ¤Î¥·¥ó¥Ü¥ë¤òɽ¼¨¤¹¤ë¡£
155 .BR \-h ", " \-\-help
156 .\"O Display a summary of options and immediately exit.
157 ¥ª¥×¥·¥ç¥ó¤Î°ìÍ÷¤òɽ¼¨¤·¤Æľ¤Á¤Ë½ªÎ»¤¹¤ë¡£
159 .BR \-n ", " \-\-show
160 .\"O Write the dependency file on stdout instead of in the \fI/lib/modules\fR tree.
161 °Í¸´Ø·¸¥Õ¥¡¥¤¥ë¤ò\fI/lib/modules\fR°Ê²¼¤Ç¤Ï¤Ê¤¯É¸½à½ÐÎϤ˽ñ¤½Ð¤¹¡£
163 .BR \-q ", " \-\-quiet
164 .\"O Tell depmod to keep quiet and not to complain about missing symbols.
165 quiet ¥â¡¼¥É¡£¸«ÉÕ¤«¤é¤Ê¤¤¥·¥ó¥Ü¥ë¤¬¤¢¤Ã¤Æ¤âʸ¶ç¤ò¸À¤ï¤Ê¤¤¡£
167 .BR \-r ", " \-\-root
168 .\"O Some users compile modules under a non-root userid then install the
169 .\"O modules as root. This process can leave the modules owned by the
170 .\"O non-root userid, even though the modules directory is owned by root.
171 .\"O If the non-root userid is compromised, an intruder can overwrite
172 .\"O existing modules owned by that userid and use this exposure to
173 .\"O bootstrap up to root access.
174 ¥æ¡¼¥¶¤Ë¤è¤Ã¤Æ¤Ï¡¢¥â¥¸¥å¡¼¥ë¤ò root °Ê³°¤Î¥æ¡¼¥¶¡¼ ID ¤Ç¥³¥ó¥Ñ¥¤¥ë¤·¡¢
175 ¤½¤Î¥â¥¸¥å¡¼¥ë¤ò root ¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤³¤È¤¬¤¢¤ë¡£
176 ¤³¤Î¥×¥í¥»¥¹¤Ç¤Ï¡¢¥â¥¸¥å¡¼¥ë¤Î½êͼԤ¬ root °Ê³°¤Î¥æ¡¼¥¶¡¼ ID
177 ¤Î¤Þ¤Þ¤Ë¤Ê¤ë¤³¤È¤¬¤¢¤ë (¥Ç¥£¥ì¥¯¥È¥ê¤Î½êͼԤ¬ root ¤Ç¤¢¤Ã¤Æ¤â)¡£
178 Èó root ¤Î¥æ¡¼¥¶¡¼ ID ¤òµö¤·¤Æ¤·¤Þ¤¦¤È¡¢
179 ¿¯Æþ¼Ô¤¬¤½¤Î¥æ¡¼¥¶¡¼ ID ÊÝͤΥ⥸¥å¡¼¥ë¤òÃÖ¤´¹¤¨¤ë¤³¤È¤¬
180 ²Äǽ¤Ë¤Ê¤ë¤«¤â¤·¤ì¤º¡¢
181 ¤³¤ì¤ò¤¤Ã¤«¤±¤Ë root ¥¢¥¯¥»¥¹¤òÃ¥¼è¤µ¤ì¤Æ¤·¤Þ¤¦¤«¤â¤·¤ì¤Ê¤¤¡£
185 .\"O By default, modutils will reject attempts to use a module that is not
186 .\"O owned by root. Specifying \fB\-r\fR will suppress the error and allow root to
187 .\"O load modules that are not owned by root.
188 ¥Ç¥Õ¥©¥ë¥È¤Ç¤Ï¡¢ modutils ¤Ï root ¤Î½êͤǤʤ¤¥â¥¸¥å¡¼¥ë¤ÎÍøÍѤò
189 µñÈݤ·¤è¤¦¤È¤¹¤ë¡£ \fB\-r\fR ¤ò»ØÄꤹ¤ë¤È¡¢¤³¤Î¥¨¥é¡¼¤òÍÞÀ©¤·¡¢
190 root °Ê³°¤Î½êͤ¹¤ë¥â¥¸¥å¡¼¥ë¤ò root ¤¬¥í¡¼¥É¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤ë¡£
194 .\"O .B Use of -r is a major security exposure and is not recommended.
195 \-r ¤ÎÍøÍѤÏÂ礤ʥ»¥¥å¥ê¥Æ¥£¾å¤Î´í¸±¤ò¾·¤¯²ÄǽÀ¤¬¤¢¤ê¡¢¿ä¾©¤Ç¤¤Ê¤¤¡£
197 .BR \-s ", " \-\-syslog
198 .\"O Write all error messages via the syslog daemon instead of stderr.
199 Á´¤Æ¤Î¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤ò¡¢É¸½à½ÐÎϤǤϤʤ¯ syslog ¥Ç¡¼¥â¥ó·Ðͳ¤Ç½ñ¤½Ð¤¹¡£
201 .BR \-u ", " \-\-unresolved-error
202 .\"O \fBdepmod\fR 2.4 does not set a return code when there are any unresolved
203 .\"O symbols. The next major release of modutils (2.5) will set a return
204 .\"O code for unresolved symbols. Some distributions want a non-zero return
205 .\"O code in modutils 2.4 but that change might cause problems for users who
206 .\"O expect the old behaviour. If you want a non-zero return code in depmod
207 .\"O 2.4, specify \fB\-u\fR. \fBdepmod\fR 2.5 will silently ignore the
208 .\"O \fB\-u\fR flag and will always give a non-zero return code for unresolved
210 \fBdepmod\fR 2.4 ¤Ï²ò·è¤Ç¤¤Ê¤¤¥·¥ó¥Ü¥ë¤¬¤¢¤Ã¤¿¤È¤¤Ë¤ÏÊÖ¤êÃͤòÀßÄꤷ¤Ê¤¤¡£
211 ¼¡¤Î modutils ¤Î¥á¥¸¥ã¡¼¥ê¥ê¡¼¥¹ (2.5) ¤Ç¤Ï¡¢
212 ²ò·è¤Ç¤¤Ê¤¤¥·¥ó¥Ü¥ë¤ËÂФ·¤ÆÊÖ¤êÃͤòÀßÄꤹ¤ëͽÄê¤Ç¤¢¤ë¡£
213 modutils 2.4 ¤ËÂФ·¤ÆÈó¥¼¥í¤ÎÊÖ¤êÃͤò´üÂÔ¤·¤Æ¤¤¤ë
214 ¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤â¤¢¤ë¤¬¡¢
215 ¤³¤ÎÊѹ¹¤Ï¸Å¤¤Æ°ºî¤ò´üÂÔ¤·¤Æ¤¤¤ë¥æ¡¼¥¶¤ËÂФ·¤ÆÌäÂê¤ò°ú¤µ¯¤³¤¹¤«¤â¤·¤ì¤Ê¤¤¡£
216 depmod 2.4 ¤ËÈó¥¼¥í¤ÎÊÖ¤êÃͤò´õ˾¤¹¤ë¾ì¹ç¤Ï \fB\-u\fR ¤ò»ØÄꤹ¤ë¤³¤È¡£
217 \fBdepmod\fR 2.5 ¤Ï \fB\-u\fR ¥Õ¥é¥°¤òÌۤäÆ̵»ë¤·¡¢
218 ²ò·è¤Ç¤¤Ê¤¤¥·¥ó¥Ü¥ë¤¬¤¢¤Ã¤¿¾ì¹ç¤Ë¤Ï¾ï¤ËÈó¥¼¥í¤ÎÊÖ¤êÃͤòÌ᤹¡£
220 .BR \-v ", " \-\-verbose
221 .\"O Show the name of each module as it is being processed.
222 ³Æ¥â¥¸¥å¡¼¥ë¤ò½èÍý¤¹¤ë¤´¤È¤Ë¡¢¤½¤ì¤é¤Î¥â¥¸¥å¡¼¥ë¤Î̾Á°¤òɽ¼¨¤¹¤ë¡£
225 .\"O Display the version of \fBdepmod\fR.
226 \fBdepmod\fR ¤Î¥Ð¡¼¥¸¥ç¥ó¤òɽ¼¨¤¹¤ë¡£
228 .\"O The following options are useful for people managing distributions:
229 °Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤Ï¡¢¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤ò´ÉÍý¤¹¤ë¿Í¡¹¤ËÊØÍø¤Ç¤¢¤í¤¦¡£
231 \fB\-b \fIbasedirectory\fR, \fB\-\-basedir \fIbasedirectory
232 .\"O If the directory tree
234 .\"O containing the sub-trees of modules is moved somewhere else in order to
235 .\"O handle modules for a different environment, the
237 .\"O option tells depmod where to find the moved image of the
240 ´Ä¶¤òÊѹ¹¤¹¤ë¤¿¤á¤Ë¡¢¥â¥¸¥å¡¼¥ë¤Î¥µ¥Ö¥Ä¥ê¡¼¤¬´Þ¤Þ¤ì¤ë¥Ç¥£¥ì¥¯¥È¥ê¥Ä¥ê¡¼
242 ¤ò¤É¤³¤«Ê̤ξì½ê¤Ë°Ü¤·¤¿¤¤¾ì¹ç¡¢
247 ¥ª¥×¥·¥ç¥ó¤ò»È¤Ã¤Æ depmod ¤ËÅÁ¤¨¤ë¡£
248 .\"O The file references in the depmod output file that is built,
249 .\"O .IR modules.dep ,
250 .\"O will not contain the
251 .\"O .I basedirectory
253 depmod ¤¬½ÐÎϤ¹¤ë¥Õ¥¡¥¤¥ë
255 ¤Ë¤ª¤±¤ë¥Õ¥¡¥¤¥ë»²¾È¤Ï¡¢
258 .\"O This means that when the file tree is moved back from
259 .\"O .I basedirectory/lib/modules
262 .\"O in the final distribution, all references will be correct.
263 ¤¹¤Ê¤ï¤Á¡¢ºÇ½ªÅª¤Ê¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤Ç¥Õ¥¡¥¤¥ë¥Ä¥ê¡¼¤¬
264 .I basedirectory/lib/modules
267 ¤ËÌᤵ¤ì¤Æ¤â¡¢Á´¤Æ¤Î»²¾È¤ÏÀµ¤·¤¯ÍøÍѤǤ¤ë¡£
269 \fB\-C \fIconfigfile\fR, \fB\-\-config \fIconfigfile
273 .\"O .IR /etc/modules.conf .
278 .\"O The environment variable
280 .\"O can also be used to select a different
281 .\"O configuration file from the default
282 .\"O .I /etc/modules.conf
284 .\"O .I /etc/conf.modules
288 ¤ò»È¤Ã¤Æ¤â¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤ò
292 (»È¤ï¤Ê¤¤¤Û¤¦¤¬Îɤ¤))
295 .\"O When environment variable
296 .\"O .B UNAME_MACHINE
297 .\"O is set, modutils will use its value instead of the machine field from
298 .\"O the uname() syscall.
301 ¤ò¥»¥Ã¥È¤¹¤ë¤È¡¢modutils ¤Ï uname() ¥·¥¹¥Æ¥à¥³¡¼¥ë¤Î machine ¥Õ¥£¡¼¥ë¥É¤Î
302 Âå¤ï¤ê¤Ë¤³¤ÎÊÑ¿ô¤ÎÃͤòÍѤ¤¤ë¡£
303 .\"O This is mainly of use when you are compiling 64 bit modules in 32 bit
304 .\"O user space or vice versa, set
305 .\"O .B UNAME_MACHINE
306 .\"O to the type of the modules being built.
307 ¤³¤ì¤Ï¼ç¤Ë 32 ¥Ó¥Ã¥È¥æ¡¼¥¶¡¼¶õ´Ö¤Ç 64 ¥Ó¥Ã¥È¥â¥¸¥å¡¼¥ë¤ò¥³¥ó¥Ñ¥¤¥ë¤¹¤ë
308 (¤Þ¤¿¤Ï¤½¤ÎµÕ)¾ì¹ç¤ËÍѤ¤¤ë¡£
309 .\"O Current modutils does not support full cross build mode for modules, it
310 .\"O is limited to choosing between 32 and 64 bit versions of the host
312 ¸½ºß¤Î modutils ¤Ï¥â¥¸¥å¡¼¥ë¤ËÂФ¹¤ë´°Á´¤Ê¥¯¥í¥¹¥Ó¥ë¥É¥â¡¼¥É¤ËÂбþ¤·¤Æ¤ª¤é¤º¡¢
313 ¥Û¥¹¥È¥¢¡¼¥¥Æ¥¯¥Á¥ã¤Î 32 ¥Ó¥Ã¥ÈÈÇ¤È 64 ¥Ó¥Ã¥ÈÈǤòÁªÂò¤Ç¤¤ë¤À¤±¤Ç¤¢¤ë¡£
315 \fB\-F kernelsyms\fR,\fB\-\-filesyms \fIkernelsyms
316 .\"O When building dependency files for a different kernel than the currently
317 .\"O running kernel, it is important that
319 .\"O uses the correct set of kernel symbols to resolve the kernel references
321 ¸½ºß¼Â¹Ô¤µ¤ì¤Æ¤¤¤ë¥«¡¼¥Í¥ë¤È¤Ï
322 Ê̤Υ«¡¼¥Í¥ë¤ËÂФ·¤Æ°Í¸´Ø·¸¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ë¾ì¹ç¡¢
324 ¤ËÀµ¤·¤¤¥«¡¼¥Í¥ë¥·¥ó¥Ü¥ë¤Î¥»¥Ã¥È¤òÍøÍѤµ¤»¡¢
325 ³Æ¥â¥¸¥å¡¼¥ë¤Î¥«¡¼¥Í¥ë»²¾È¤òÀµ¤·¤¯²ò·è¤µ¤»¤ë¤³¤È¤¬½ÅÍפǤ¢¤ë¡£
326 .\"O These symbols can either be a copy of
328 .\"O from the other kernel,
329 .\"O or a copy of the output from
330 .\"O .IR /proc/ksyms .
331 ¤³¤ì¤é¤Î¥·¥ó¥Ü¥ë¤Ë¤Ï¡¢Â¾¤Î¥«¡¼¥Í¥ë¤Î
335 ¤Î½ÐÎϤΥ³¥Ô¡¼¤ò»È¤¨¤ë¡£
336 .\"O If your kernel uses versioned symbols, it is best to
337 .\"O use a copy of the
339 .\"O output, since that file contains the symbol versions of the kernel
340 .\"O symbols. However you can use a
342 .\"O even with versioned symbols.
343 ÍøÍѤ·¤Æ¤¤¤ë¥«¡¼¥Í¥ë¤¬¥Ð¡¼¥¸¥ç¥óÉÕ¤¤Î¥·¥ó¥Ü¥ë¤ò»È¤Ã¤Æ¤¤¤ë¾ì¹ç¤Ï¡¢
345 ¤Î½ÐÎϤòÍѤ¤¤ë¤Î¤¬¤â¤Ã¤È¤â¤è¤¤¡£¤Ê¤¼¤Ê¤é¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤Ï
346 ¥«¡¼¥Í¥ë¥·¥ó¥Ü¥ë¤Î¥·¥ó¥Ü¥ë¥Ð¡¼¥¸¥ç¥ó¤¬´Þ¤Þ¤ì¤Æ¤¤¤ë¤«¤é¤Ç¤¢¤ë¡£
347 ¤·¤«¤·¥Ð¡¼¥¸¥ç¥óÉÕ¤¤Î¥·¥ó¥Ü¥ë¤ËÂФ·¤Æ
349 ¤ò»È¤Ã¤Æ¤â¤«¤Þ¤ï¤Ê¤¤¡£
350 .\"O .SH CONFIGURATION
356 .\"O can be adjusted by the (optional) configuration file
357 .\"O .IR /etc/modules.conf .
361 ¤ÎÆ°ºî¤Ï¡¢ÀßÄê¥Õ¥¡¥¤¥ë
363 ¤Ë¤è¤Ã¤ÆÄ´À°¤Ç¤¤ë (¤³¤Î¥Õ¥¡¥¤¥ë¤Ï̵¤¯¤Æ¤âÎɤ¤)¡£
366 .\"O .BR modprobe (8)
368 .\"O .BR modules.conf (5)
369 .\"O for a complete description.
378 .\"O Each time you compile a new kernel, the command "\fBmake modules_install\fR"
379 .\"O will create a new directory, but won't change the default.
380 ¿·¤·¤¤¥«¡¼¥Í¥ë¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤Æ¡¢
381 ¥³¥Þ¥ó¥É "\fBmake modules_install\fR" ¤ò¼Â¹Ô¤¹¤ë¤È¡¢
382 ¿·¤·¤¤¥Ç¥£¥ì¥¯¥È¥ê¤¬ºîÀ®¤µ¤ì¤ë¤¬¥Ç¥Õ¥©¥ë¥È¤ÏÊѹ¹¤µ¤ì¤Ê¤¤¡£
383 .\"NAKANO ¤Ê¤ó¤Î default?
385 .\"O When you get a module unrelated to the kernel distribution
386 .\"O you should place it in one of the version-independent directories
388 .\"O .IR /lib/modules .
389 ¥«¡¼¥Í¥ëÇÛÉۤ˴ޤޤì¤Ê¤¤¥â¥¸¥å¡¼¥ë¤òÍøÍѤ·¤¿¤¤¾ì¹ç¤Ï¡¢
393 ¥«¡¼¥Í¥ë¥Ð¡¼¥¸¥ç¥ó¤Ë´Ø·¸¤·¤Ê¤¤¥Ç¥£¥ì¥¯¥È¥ê¤ËÃÖ¤¯¤Î¤¬Îɤ¤¡£
395 .\"O This is the default strategy, which can be overridden in /etc/modules.conf.
396 ¤³¤ì¤Ï¥Ç¥Õ¥©¥ë¥È¤ÎÊý¿Ë¤Ç¤¢¤ë¤¬¡¢
397 /etc/modules.conf ¤Ë¤è¤Ã¤ÆÊѹ¹¤Ç¤¤ë¡£
401 .\"O .IR /etc/modules.conf\ "(alternatively but deprecated\ " /etc/conf.modules )
402 .IR /etc/modules.conf (¤¢¤ë¤¤¤Ï /etc/conf.modules (Èó¿ä¾©)) ,
403 .IR /lib/modules/*/modules.dep ,
408 .BR modules.conf "(5), " modprobe "(8), " modinfo "(8), "
409 .BR lsmod "(8), " ksyms "(8) "
412 .\"O \fBdepmod\fR [ \-V | \-\-version ] should exit immediately. Instead, it
413 .\"O prints the version information and behaves as if no options were given.
414 \fBdepmod\fR [ \-V | \-\-version ] ¤Ïľ¤Á¤Ë½ªÎ»¤¹¤ë¤Ù¤¤Ç¤¢¤ë¡£
415 ¤·¤«¤·¤Ê¤¬¤é¡¢¸½ºß¤Ï¥Ð¡¼¥¸¥ç¥ó¾ðÊó¤òɽ¼¨¤·¤¿¸å¡¢
416 ²¿¤â¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤Ê¤«¤Ã¤¿¤«¤Î¤è¤¦¤Ë¿¶Éñ¤¦¡£
419 Jacques Gelinas (jack@solucorp.qc.ca)
421 Bjorn Ekwall (bj0rn@blox.se)