{"id":3775,"date":"2019-07-12T21:07:25","date_gmt":"2019-07-12T13:07:25","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3775"},"modified":"2019-07-12T21:07:26","modified_gmt":"2019-07-12T13:07:26","slug":"modprobe","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/modprobe","title":{"rendered":"modprobe\u547d\u4ee4 – \u5185\u6838\u6a21\u5757\u667a\u80fd\u52a0\u8f7d\u5de5\u5177"},"content":{"rendered":"\n

modprobe\u547d\u4ee4\u7528\u4e8e\u667a\u80fd\u5730\u5411\u5185\u6838\u4e2d\u52a0\u8f7d\u6a21\u5757\u6216\u8005\u4ece\u5185\u6838\u4e2d\u79fb\u9664\u6a21\u5757\u3002<\/p>\n\n\n\n

modprobe\u547d\u4ee4\u53ef\u8f7d\u5165\u6307\u5b9a\u7684\u4e2a\u522b\u6a21\u5757\uff0c\u6216\u662f\u8f7d\u5165\u4e00\u7ec4\u76f8\u4f9d\u7684\u6a21\u5757\u3002\u82e5\u5728\u8f7d\u5165\u8fc7\u7a0b\u4e2d\u53d1\u751f\u9519\u8bef\uff0c\u5728modprobe\u4f1a\u5378\u8f7d\u6574\u7ec4\u7684\u6a21\u5757\u3002\u5185\u6838\u6a21\u5757\u52a0\u8f7d\u6210\u529f\u6216\u5931\u8d25\u4fe1\u606f\u53ef\u4ee5\u4f7f\u7528dmesg\u6307\u4ee4\u6765\u67e5\u770b\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong> modprobe [\u53c2\u6570] [\u6a21\u5757\u540d]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-a<\/td>\u52a0\u8f7d\u547d\u4ee4\u884c\u7ed9\u51fa\u7684\u5168\u90e8\u7684\u6a21\u5757<\/td><\/tr>
-c<\/td>\u663e\u793a\u6240\u6709\u6a21\u5757\u7684\u8bbe\u7f6e\u4fe1\u606f<\/td><\/tr>
-d<\/td>\u4f7f\u7528\u6392\u9519\u6a21\u5f0f<\/td><\/tr>
-l<\/td>\u663e\u793a\u53ef\u7528\u7684\u6a21\u5757<\/td><\/tr>
-r<\/td>\u4ece\u5185\u6838\u4e2d\u79fb\u9664\u6a21\u5757 <\/td><\/tr>
-t<\/td>\u6307\u5b9a\u6a21\u5757\u7c7b\u578b<\/td><\/tr>
-s<\/td>\u8bb0\u5f55\u9519\u8bef\u4fe1\u606f\u5230\u7cfb\u7edf\u65e5\u5fd7\u4e2d<\/td><\/tr>
-- -show-depends<\/td>\u663e\u793a\u6a21\u5757\u4f9d\u8d56\u5173\u7cfb<\/td><\/tr>
-v<\/td>\u6267\u884c\u65f6\u663e\u793a\u8be6\u7ec6\u7684\u4fe1\u606f<\/td><\/tr>
-V<\/td>\u663e\u793a\u7248\u672c\u4fe1\u606f<\/td><\/tr>
-help<\/td>\u663e\u793a\u5e2e\u52a9<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

\u67e5\u770bmodules\u7684\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# modprobe -c<\/pre>\n\n\n\n

\u5217\u51fa\u5185\u6838\u4e2d\u6240\u6709\u5df2\u7ecf\u6216\u8005\u672a\u6302\u8f7d\u7684\u6240\u6709\u6a21\u5757\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# modprobe -l<\/pre>\n\n\n\n

\u6302\u8f7d\u6307\u5b9a\u6a21\u5757\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# modprobe -v ide-cd<\/pre>\n\n\n\n

\u79fb\u9664\u6307\u5b9a\u6a21\u5757\uff1a<\/p>\n\n\n\n

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

modprobe\u547d\u4ee4\u7528\u4e8e\u667a\u80fd\u5730\u5411\u5185\u6838\u4e2d\u52a0\u8f7d\u6a21\u5757\u6216\u8005\u4ece\u5185\u6838\u4e2d\u79fb\u9664\u6a21\u5757\u3002 modprobe\u547d\u4ee4\u53ef\u8f7d\u5165\u6307\u5b9a\u7684\u4e2a\u522b\u6a21\u5757 […]<\/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\/3775"}],"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=3775"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3775\/revisions"}],"predecessor-version":[{"id":3798,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3775\/revisions\/3798"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}