{"id":1602,"date":"2019-04-29T23:15:21","date_gmt":"2019-04-29T15:15:21","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=1602"},"modified":"2022-05-25T16:49:00","modified_gmt":"2022-05-25T08:49:00","slug":"rmmod","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/rmmod","title":{"rendered":"rmmod\u547d\u4ee4 – \u79fb\u9664\u5185\u6838\u6a21\u5757"},"content":{"rendered":"\n

rmmod\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201dremove module\u201c\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u79fb\u9664\u5185\u6838\u6a21\u5757\u3002Linux\u64cd\u4f5c\u7cfb\u7edf\u7684\u5185\u6838\u5177\u6709\u6a21\u5757\u5316\u7684\u7279\u70b9\uff0c\u8fd0\u7ef4\u4eba\u5458\u53ef\u4ee5\u4f7f\u7528rmmod\u547d\u4ee4\u79fb\u9664\u4e0d\u9700\u8981\u7684\u5185\u6838\u6a21\u5757\uff0c\u5f85\u6709\u9700\u8981\u65f6\u518d\u91cd\u65b0\u52a0\u8f7d\u56de\u6765\u5b83\u4eec\u3002<\/p>\n\n\n\n

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

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-a<\/td>\u5220\u9664\u6240\u6709\u76ee\u524d\u4e0d\u9700\u8981\u7684\u6a21\u5757<\/td><\/tr>
-s<\/td>\u628a\u4fe1\u606f\u8f93\u51fa\u81f3\u65e5\u5fd7\u670d\u52a1\u4e2d<\/td><\/tr>
-v<\/td>\u663e\u793a\u6307\u4ee4\u6267\u884c\u7684\u8be6\u7ec6\u4fe1\u606f<\/td><\/tr>
-f<\/td>\u5f3a\u5236\u79fb\u9664\u6a21\u5757<\/td><\/tr>
-w<\/td>\u786e\u8ba4\u6a21\u5757\u80fd\u88ab\u5220\u9664\u65f6\u518d\u64cd\u4f5c<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

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

\u79fb\u9664\u6307\u5b9a\u5185\u6838\u6a21\u5757\u5e76\u663e\u793a\u8fc7\u7a0b\u4fe1\u606f\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# rmmod -v bridge<\/strong><\/pre>\n\n\n\n

\u79fb\u9664\u6307\u5b9a\u5185\u6838\u6a21\u5757\u5e76\u5c06\u9519\u8bef\u4fe1\u606f\u5199\u5165\u65e5\u5fd7\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# rmmod -s bridge<\/strong><\/pre>\n\n\n\n

\u7b49\u5f85\u6a21\u5757\u80fd\u591f\u88ab\u79fb\u9664\u65f6\uff0c\u7136\u540e\u518d\u8fdb\u884c\u79fb\u9664\u64cd\u4f5c\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# rmmod -w bridge<\/strong><\/pre>\n\n\n\n

\u5f3a\u5236\u79fb\u9664\u6307\u5b9a\u5185\u6838\u6a21\u5757\uff1a<\/p>\n\n\n\n

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

rmmod\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201dremove module\u201c\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u79fb\u9664\u5185\u6838\u6a21\u5757\u3002Linux\u64cd\u4f5c\u7cfb\u7edf […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/1602"}],"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=1602"}],"version-history":[{"count":9,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/1602\/revisions"}],"predecessor-version":[{"id":10030,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/1602\/revisions\/10030"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=1602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=1602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=1602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}