ENUM NBCON_PRIO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum nbcon_prio(9)

okay bestie, so this is a page from the Kernel API Manual β€” it's enum nbcon_prio, and it's literally the console owner priority for nbcon consoles πŸŽ€ so if that's your vibe, keep reading, iykyk.


✨ NAME ✨

enum nbcon_prio β€” console owner priority for nbcon consoles. that's it, that's the whole thing, and it ate πŸ’…


🌸 SYNOPSIS 🌸

enum nbcon_prio {
    NBCON_PRIO_NONE ,
    NBCON_PRIO_NORMAL ,
    NBCON_PRIO_EMERGENCY ,
    NBCON_PRIO_PANIC ,
    NBCON_PRIO_MAX

};

like, look at her. five whole constants, living their best lives πŸ’–


πŸ¦‹ Constants πŸ¦‹

okay so here's the cast of characters, no cap:

  • NBCON_PRIO_NONE β€” unused πŸ«₯ literally just sitting there, not doing anything, respecting the vibe.
  • NBCON_PRIO_NORMAL β€” normal (non-emergency) usage 🧚 the every day, nothing's on fire, we're just vibing priority.
  • NBCON_PRIO_EMERGENCY β€” emergency output (WARN/OOPS...) 😭 the "omg something went wrong" tier. it's giving chaos.
  • NBCON_PRIO_PANIC β€” panic output πŸ’€ the main character of bad days. the whole system is going down and this is the priority that shows up.
  • NBCON_PRIO_MAX β€” the number of priority levels πŸ”’ not an actual level, it's the count. she's the boundary, the icon, the limit.

πŸ”₯ Description πŸ”₯

so here's the tea β˜• β€” a higher priority context can takeover the console when it is in the safe state. yes, takeover. main character energy fr fr πŸ‘‘

and the final attempt to flush consoles in panic can be allowed to do so even in an unsafe state β€” the manpage literally says (Hope and pray) πŸ™πŸ˜­ which is honestly the most honest thing in kernel documentation. ngl, iconic.

⚠️ bestie, if you're in the "unsafe state" branch here, just know that the official strategy is hope and prayer. i don't make the rules, i just read the header file.

🌈 SEE ALSO 🌈

go read these next, i'm obsessed with this reading list πŸ“:


okay that's the whole page, you're welcome πŸ’– this one lives in ./include/linux, from the October 2026 era of the docs β€” slay, bye babe πŸ‘‘βœ¨πŸŽ€

πŸ“¦ where this page comes from