{"id":2358,"date":"2019-05-27T00:36:46","date_gmt":"2019-05-26T16:36:46","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=2358"},"modified":"2019-05-27T00:36:48","modified_gmt":"2019-05-26T16:36:48","slug":"insmod","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/insmod","title":{"rendered":"insmod\u547d\u4ee4 – \u8f7d\u5165\u6a21\u5757"},"content":{"rendered":"\n

insmod\u547d\u4ee4\u7528\u4e8e\u5c06\u7ed9\u5b9a\u7684\u6a21\u5757\u52a0\u8f7d\u5230\u5185\u6838\u4e2d\u3002<\/p>\n\n\n\n

Linux\u6709\u8bb8\u591a\u529f\u80fd\u662f\u901a\u8fc7\u6a21\u5757\u7684\u65b9\u5f0f\uff0c\u5728\u9700\u8981\u65f6\u624d\u8f7d\u5165kernel\u3002\u5982\u6b64\u53ef\u4f7fkernel\u8f83\u4e3a\u7cbe\u7b80\uff0c\u8fdb\u800c\u63d0\u9ad8\u6548\u7387\uff0c\u4ee5\u53ca\u4fdd\u6709\u8f83\u5927\u7684\u5f39\u6027\u3002\u8fd9\u7c7b\u53ef\u8f7d\u5165\u7684\u6a21\u5757\uff0c\u901a\u5e38\u662f\u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f\u3002<\/p>\n\n\n\n

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

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-f <\/td>\u4e0d\u68c0\u67e5\u76ee\u524dkernel\u7248\u672c\u4e0e\u6a21\u5757\u7f16\u8bd1\u65f6\u7684kernel\u7248\u672c\u662f\u5426\u4e00\u81f4\uff0c\u5f3a\u5236\u5c06\u6a21\u5757\u8f7d\u5165<\/td><\/tr>
-k <\/td>\u5c06\u6a21\u5757\u8bbe\u7f6e\u4e3a\u81ea\u52a8\u5378\u9664<\/td><\/tr>
-m <\/td>\u8f93\u51fa\u6a21\u5757\u7684\u8f7d\u5165\u4fe1\u606f<\/td><\/tr>
-o <\/td>\u6307\u5b9a\u6a21\u5757\u7684\u540d\u79f0\uff0c\u53ef\u4f7f\u7528\u6a21\u5757\u6587\u4ef6\u7684\u6587\u4ef6\u540d<\/td><\/tr>
-p <\/td>\u6d4b\u8bd5\u6a21\u5757\u662f\u5426\u80fd\u6b63\u786e\u5730\u8f7d\u5165kernel<\/td><\/tr>
-s <\/td>\u5c06\u6240\u6709\u4fe1\u606f\u8bb0\u5f55\u5728\u7cfb\u7edf\u8bb0\u5f55\u6587\u4ef6\u4e2d<\/td><\/tr>
-v <\/td>\u6267\u884c\u65f6\u663e\u793a\u8be6\u7ec6\u7684\u4fe1\u606f<\/td><\/tr>
-x <\/td>\u4e0d\u8981\u6c47\u51fa\u6a21\u5757\u7684\u5916\u90e8\u7b26\u53f7<\/td><\/tr>
-X <\/td>\u6c47\u51fa\u6a21\u5757\u6240\u6709\u7684\u5916\u90e8\u7b26\u53f7\uff0c\u6b64\u4e3a\u9884\u8bbe\u7f6e<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

\u52a0\u8f7dRAID1\u9635\u5217\u7ea7\u522b\u6a21\u5757\uff0c\u5982\u4e0b\u6240\u793a\uff1a <\/p>\n\n\n\n

[root@linuxcool ~]# insmod \/lib\/modules\/2.6.   <\/pre>\n","protected":false},"excerpt":{"rendered":"

insmod\u547d\u4ee4\u7528\u4e8e\u5c06\u7ed9\u5b9a\u7684\u6a21\u5757\u52a0\u8f7d\u5230\u5185\u6838\u4e2d\u3002 Linux\u6709\u8bb8\u591a\u529f\u80fd\u662f\u901a\u8fc7\u6a21\u5757\u7684\u65b9\u5f0f\uff0c\u5728\u9700\u8981\u65f6\u624d\u8f7d\u5165kerne […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2358"}],"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=2358"}],"version-history":[{"count":9,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2358\/revisions"}],"predecessor-version":[{"id":2698,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/2358\/revisions\/2698"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=2358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=2358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=2358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}