Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 4
    For those to whom it matters, the initcall_blacklist parameter appeared in Linux 3.16. Commented Sep 11, 2018 at 5:55
  • 1
    is <modulename>_init_module the canonical name for each and everything that can be built as a module? Commented Sep 13, 2018 at 11:15
  • 1
    @Bananguin unfortunately not, there are quite a few called ..._init_module or ..._module_init but they don’t all follow those patterns. Commented Sep 13, 2018 at 13:30
  • 1
    Great answer! I was able to prevent /dev/ramX generation at boot, with brd built-in, via initcall_blacklist=brd_init kernel command-line parameter, taken from: github.com/torvalds/linux/blob/master/drivers/block/brd.c With brd.rd_nr=0 there is still /dev/ram0 autogenerated. Commented Nov 6, 2022 at 15:10