{"id":4577,"date":"2016-01-13T16:31:47","date_gmt":"2016-01-13T16:31:47","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=4577"},"modified":"2016-01-13T16:31:47","modified_gmt":"2016-01-13T16:31:47","slug":"linux-kernel-development-modules","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=4577","title":{"rendered":"Linux Kernel Development: Modules"},"content":{"rendered":"<p><a href=\"http:\/\/www.makelinux.net\/ldd3\/chp-2-sect-8\">Module Parameters<\/a><br \/>\n<a href=\"http:\/\/www.tldp.org\/LDP\/lkmpg\/2.6\/html\/x323.html\">Passing Command Line Arguments to a Module<\/a><br \/>\n<a href=\"http:\/\/serverfault.com\/questions\/62316\/how-do-i-list-loaded-linux-module-parameter-values\">How do I list loaded Linux module parameter values?<\/a><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncat \/proc\/modules | cut -f 1 -d &quot; &quot; | while read module; do \\\r\n echo &quot;Module: $module&quot;; \\\r\n if &#x5B; -d &quot;\/sys\/module\/$module\/parameters&quot; ]; then \\\r\n  ls \/sys\/module\/$module\/parameters\/ | while read parameter; do \\\r\n   echo -n &quot;Parameter: $parameter --&gt; &quot;; \\\r\n   cat \/sys\/module\/$module\/parameters\/$parameter; \\\r\n  done; \\\r\n fi; \\\r\n echo; \\\r\ndone\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Module Parameters Passing Command Line Arguments to a Module How do I list loaded Linux module parameter values? cat \/proc\/modules | cut -f 1 -d &quot; &quot; | while read module; do \\ echo &quot;Module: $module&quot;; \\ if &#x5B; -d &quot;\/sys\/module\/$module\/parameters&quot; ]; then \\ ls \/sys\/module\/$module\/parameters\/ | while read parameter; do \\ echo -n &quot;Parameter: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4577","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/4577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4577"}],"version-history":[{"count":1,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/4577\/revisions"}],"predecessor-version":[{"id":4578,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/4577\/revisions\/4578"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}