{"id":3780,"date":"2019-07-13T09:41:00","date_gmt":"2019-07-13T01:41:00","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3780"},"modified":"2019-07-13T09:41:00","modified_gmt":"2019-07-13T01:41:00","slug":"depmod","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/depmod","title":{"rendered":"depmod\u547d\u4ee4 – \u751f\u6210\u6a21\u5757\u6620\u5c04\u6587\u4ef6"},"content":{"rendered":"\n

depmod\u547d\u4ee4\u53ef\u4ea7\u751f\u6a21\u5757\u4f9d\u8d56\u7684\u6620\u5c04\u6587\u4ef6\uff0c\u5728\u6784\u5efa\u5d4c\u5165\u5f0f\u7cfb\u7edf\u65f6\uff0c\u9700\u8981\u7531\u8fd9\u4e2a\u547d\u4ee4\u6765\u751f\u6210\u76f8\u5e94\u7684\u6587\u4ef6\uff0cdepmod\u547d\u4ee4\u652f\u6301\u5185\u6838\u7248\u672c\u4e3a\u201c2.5.48\u201d\u4ee5\u4e0a\uff0c\u6bd4\u6b64\u7248\u672c\u8001\u7684\u5185\u6838\u4f7f\u7528\u6307\u4ee4\u201cdepmod.old\u201d\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>depmod [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-a<\/td>\u5206\u6790\u6240\u6709\u53ef\u7528\u7684\u6a21\u5757<\/td><\/tr>
-b<\u76ee\u5f55><\/td>\u6307\u5b9a\u5185\u6838\u6a21\u5757\u76ee\u5f55<\/td><\/tr>
-e<\/td>\u8f93\u51fa\u65e0\u6cd5\u53c2\u7167\u7684\u7b26\u53f7<\/td><\/tr>
-F<\/td>\u63d0\u4f9b\u5185\u6838\u7f16\u8bd1\u65f6\u751f\u6210\u7684system.map\u6587\u4ef6<\/td><\/tr>
-n<\/td>\u5c06\u5404\u79cd\u5185\u6838\u6620\u5c04\u6587\u4ef6\u6253\u5370\u5230\u6807\u51c6\u8f93\u51fa<\/td><\/tr>
-A<\/td>\u5feb\u901f\u6a21\u5f0f<\/td><\/tr><\/tbody><\/table>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u663e\u793a\u53ef\u7528\u6a21\u5757\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# depmod -a<\/pre>\n\n\n\n

\u5217\u51fa\u5df2\u6302\u8f7d\u4f46\u4e0d\u53ef\u7528\u7684\u6a21\u5757\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# depmod -e<\/pre>\n\n\n\n

\u5217\u51fa\u6240\u6709\u6a21\u5757\u7684\u4f9d\u8d56\u5173\u7cfb\uff0c\u4f46\u4ec5\u4ec5\u662f\u8f93\u51fa\u51fa\u6765\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# depmod -n<\/pre>\n","protected":false},"excerpt":{"rendered":"

depmod\u547d\u4ee4\u53ef\u4ea7\u751f\u6a21\u5757\u4f9d\u8d56\u7684\u6620\u5c04\u6587\u4ef6\uff0c\u5728\u6784\u5efa\u5d4c\u5165\u5f0f\u7cfb\u7edf\u65f6\uff0c\u9700\u8981\u7531\u8fd9\u4e2a\u547d\u4ee4\u6765\u751f\u6210\u76f8\u5e94\u7684\u6587\u4ef6\uff0cdepmod\u547d\u4ee4 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3780"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=3780"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3780\/revisions"}],"predecessor-version":[{"id":3819,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3780\/revisions\/3819"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}