module_dm(9)
π module_dm(9) β the manual page π
okay so bestie, this is the Kernel API Manual page for module_dm(9) and it's lowkey a tiny little lifesaver for DM targets β¨
π NAME π
module_dm β the helper macro for DM targets that literally don't do anything special in their module_init and module_exit π«Ά
The way this works is iconic: each module may only use this macro once, and calling it replaces module_init() and module_exit(). Periodt. π
π¦ SYNOPSIS π¦
module_dm (name );
πΈ ARGUMENTS πΈ
nameβ the DM target's name. That's it, that's the whole argument, and she ate. π
π₯ SEE ALSO π₯
- Kernel file
./include/linux/device-mapper.hβ go peek, iykyk π
mwah π this page is brought to you by ./include/linux, dated October 2026, and it's your girl module_dm(9) signing off π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms