module_alias_printf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… module_alias_printf πŸ’…

okay so welcome to the module_alias_printf(9) page in the Kernel API Manual β€” this is the function that adds an auto-generated MODULE_ALIAS(), and honestly? iconic. 🫢

✨ NAME ✨

module_alias_printf β€” add auto-generated MODULE_ALIAS(). That's literally the whole name section, periodt. πŸ’–

πŸŽ€ SYNOPSIS πŸŽ€

void  module_alias_printf (struct module *mod , bool append_wildcard ,
       const char *fmt , ... );

πŸ’– ARGUMENTS πŸ’–

  • mod β€” the module. Yes bestie, it's a struct module *, hand it over. πŸ‘‘
  • append_wildcard β€” appends '*' for future extension if it doesn't exist yet. Future-proofing vibes, no cap. ✨
  • fmt β€” a printf(3)-like format. You know the format-string energy: it's giving printf, but make it module alias. πŸŽ€
  • ... β€” variable arguments. The little extra args that go with fmt, fr fr. πŸ¦‹

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./scripts/mod/file2alias.c β€” that's the see-also, bestie. Go look, iykyk. πŸ‘€

mwah πŸ’‹ β€” this module_alias_printf(9) page is from ./scripts/mod, dated October 2026. slay and goodbye. 🌈

πŸ“¦ where this page comes from