depmod

depmod(8)                   System Manager's Manual                  depmod(8)



åå
       depmod — modules.dep ã¨ããããã¡ã¤ã«ãçæããããã°ã©ã

æ¸å¼
       depmod [-b basedir]  [-e]  [-F System.map]  [-n]  [-v]  [version]  [-A
       ]

       depmod [-e]  [-FSystem.map]  [-n]  [-v]  [version]  [filename ...]

説æ
       Linux ã«ã¼ãã«ã¢ã¸ã¥ã¼ã«ã¯ã (ãã·ã³ãã«ãã¨å¼ã°ãã) ãµã¼ãã¹ã (ã³ã¼ãä¸ã§
       EXPORT_SYMBOL ã使ã£ã¦) ä»ã®ã¢ã¸ã¥ã¼ã«ã使ããããã«æä¾ãããã¨ãã§ããã
       å¾èã®ã¢ã¸ã¥ã¼ã«ããã®ã·ã³ãã«ã使ãå ´åã
       å¾èã®ã¢ã¸ã¥ã¼ã«ã¯åèã®ã¢ã¸ã¥ã¼ã«ã«ä¾åãã¦ããã®ã¯æããã§ããã ãã®ãããªä¾å‐
       é¢ä¿ã¯ããªãè¤éã«ãªããã¨ãããã


       depmod ã¯ã /lib/modules/version 以ä¸ã®ã¢ã¸ã¥ã¼ã«ãã²ã¨ã¤ã²ã¨ã¤èª‐
       ã¿è¾¼ã¿ã åã¢ã¸ã¥ã¼ã«ãã©ããªã·ã³ãã«ãã¨ã¯ã¹ãã¼ããã¦ãããã
       ã©ããªã·ã³ãã«ãå¿è¦ã¨ãã¦ãããã調ã¹ã¦ã ã¢ã¸ã¥ã¼ã«ã®ä¾åé¢ä¿ã®ãªã¹ããä½ãã
       ããã©ã«ãã§ã¯ããã®ãªã¹ãã¯åããã£ã¬ã¯ããªã® modules.dep ã«æ¸ãããã
       ãã¡ã¤ã«åãã³ãã³ãã©ã¤ã³ã§ä¸ããããã¨ã ãããã®ã¢ã¸ã¥ã¼ã«ã«éã£ã¦èª¿ã¹ããã
       (å¨ã¦ã®ã¢ã¸ã¥ã¼ã«ãåæããã¦ããªãéãããããå½¹ã«ç«ã¤ãã¨ã¯æ»å¤ã«ãªã) ã


       version ãä¸ããããã¨ã ç¾å¨ã®ã«ã¼ãã«ãã¼ã¸ã§ã³ ("uname -r" ã§è¿ããã®)
       ã§ã¯ãªãã ãã®ã«ã¼ãã«ãã¼ã¸ã§ã³ã®ã¢ã¸ã¥ã¼ã«ãã£ã¬ã¯ããªã使ãããã


       depmod 㯠ãã®ãã£ã¬ã¯ããªã«ãã¾ãã¾ãªããããã¡ã¤ã«ãåºåããã
       ããããã©ã°æ©æ§ã§ä½¿ãããã§ããã

ãªãã·ã§ã³
       -b basedir --basedir basedir
                 対象ã¨ãªãã¢ã¸ã¥ã¼ã«ãç¾å¨ã¯ (é常ã®) ãã£ã¬ã¯ããª
                 /lib/modules/version ã§ã¯ãªãã
                 æºåç¨ã®ãã£ã¬ã¯ããªã«ç½®ããã¦ããå ´åã ãã£ã¬ã¯ããªåã®åã«ä»ã basedir
                 ãæå®ãããã¨ãã§ããã ãã® basedir ã¯çæããã modules.dep ãã¡ã¤ã«ã§ã¯
                 åãé¤ããã¦ããããã®ããããã¤ã§ãé常ã®å ´æã«ç§»åããããã¨ãã§ããã


       -e --errsyms
                 ãã®ãªãã·ã§ã³ã -F ãªãã·ã§ã³ã¨çµã¿åããããã¨ã
                 ã¢ã¸ã¥ã¼ã«ãå¿è¦ã¨ãã¦ããã
                 ä»ã®ã¢ã¸ã¥ã¼ã«ãã«ã¼ãã«ãæä¾ãã¦ããªãã·ã³ãã«ãéç¥ããã
                 é常ãã¢ã¸ã¥ã¼ã«ãæä¾ãã¦ããªãã·ã³ãã«ã¯ ã«ã¼ãã«ãæä¾ãããã®ã¨è¦ãªãã
                 (å®ç§ãªä¸çã§ã¯å½ç¶ã ) ã


       -F --filesyms System.map
                 ã«ã¼ãã«ããã«ããããã¨ãã«çæããã System.map ãæå®ããã
                 ãã®ãªãã·ã§ã³ã使ãã¨ã -e
                 ãªãã·ã§ã³ã§æªè§£æ±ºã®ã·ã³ãã«ãéç¥ãããã¨ãã§ããã


       -n --dry-run
                 ãã®ãªãã·ã§ã³ã¯çæããã modules.dep ã¨ãã¾ãã¾ãªããããã¡ã¤ã«ãã
                 ã¢ã¸ã¥ã¼ã«ãã£ã¬ã¯ããªã«æ¸ãåºãã®ã§ã¯ãªããæ¨æºåºåã«éãã


       -A --quick
                 ãã®ãªãã·ã§ã³ã使ãã¨ã å¦çãè¡ãªãåã«åã¢ã¸ã¥ã¼ã«ã modules.dep
                 ãã¡ã¤ã«ããã æ°ãããã©ãããè¦ã¦ã modules.dep
                 ã®ã»ããæ°ãããã°ãã¡ã¤ã«ãåçæããã«éãã«çµäºããã

ä¸ä½äºææ§
       ãã®ãã¼ã¸ã§ã³ã® depmod ã¯ã ã«ã¼ãã« 2.5.48 ããã³ãã以éã®ããã®ãã®ã§ããã
       å¤ãå½¢å¼ã®ã¢ã¸ã¥ã¼ã«ã«å¯¾å¿ããã«ã¼ãã«ãæ¤åºãããã æå®ããããã¼ã¸ã§ã³ã 2.5.48
       ãããåã®å ´åã ãã®å ´ã§ depmod.old ãå®è¡ãããã¨ããã ãã®ãããã¦ã¼ã¶ã¯å¨ãæè‐
       ããªãã¦ããã

èä½æ¨©
       ãã®ããã¥ã¢ã«ãã¼ã¸ã®èä½æ¨©è¡¨ç¤ºã¯ Copyright 2002, Rusty Russell, IBM
       Corporation.

é¢é£é ç®
       modprobe(8), modules.dep(5), depmod.old(8)



                                                                     depmod(8)