ENUM P9_DEBUG_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ enum p9_debug_flags(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual β€” yes, we're doing kernel lore today and honestly? it's giving study date energy πŸ’…


✨ NAME ✨

enum p9_debug_flags β€” literally just the bits for the mount time debug parameter 🫢


🌸 SYNOPSIS 🌸

enum p9_debug_flags {
    P9_DEBUG_ERROR ,
    P9_DEBUG_9P ,
    P9_DEBUG_VFS ,
    P9_DEBUG_CONV ,
    P9_DEBUG_MUX ,
    P9_DEBUG_TRANS ,
    P9_DEBUG_SLABS ,
    P9_DEBUG_FCALL ,
    P9_DEBUG_FID ,
    P9_DEBUG_PKT ,
    P9_DEBUG_FSC ,
    P9_DEBUG_VPKT ,
    P9_DEBUG_CACHE ,
    P9_DEBUG_MMAP

};

no cap, that's the whole roster 🌈


πŸ¦‹ Constants πŸ¦‹

so these are your little flag besties, one per vibe β€” memorize them and you're the main character of the mount options:

  • P9_DEBUG_ERROR β€” more verbose error messages, and it includes the original error string πŸ’€ (so you actually know what went wrong, iconic)
  • P9_DEBUG_9P β€” 9P protocol tracing ⭐
  • P9_DEBUG_VFS β€” VFS API tracing 🌸
  • P9_DEBUG_CONV β€” protocol conversion tracing πŸ’œ
  • P9_DEBUG_MUX β€” traces the management of concurrent transactions 🧚
  • P9_DEBUG_TRANS β€” transport tracing πŸš€
  • P9_DEBUG_SLABS β€” memory management tracing πŸ“
  • P9_DEBUG_FCALL β€” verbose dump of protocol messages πŸ”₯ (a whole meal, honestly)
  • P9_DEBUG_FID β€” fid allocation/deallocation tracking πŸ‘‘
  • P9_DEBUG_PKT β€” packet marshalling/unmarshalling πŸŽ€
  • P9_DEBUG_FSC β€” FS-cache tracing πŸ¦‹
  • P9_DEBUG_VPKT β€” Verbose packet debugging (full packet dump) 😭 (yes, full β€” she does not hold back)
  • P9_DEBUG_CACHE β€” cache operations tracing ⭐
  • P9_DEBUG_MMAP β€” memory-mapped I/O tracing πŸ’–

πŸ’œ Description πŸ’œ

so here's the tea: these flags get passed at mount time to turn on various levels of verbosity and tracing, and all of that output goes to the system logs 🫢

like, that's it β€” you flip the bits, the kernel gets chatty, you read the logs. slay.


🌈 SEE ALSO 🌈

go read these next, bestie, they're all in the kernel file ./include/net/9p/9p.h:

  • enum p9_msg_t(9)
  • enum p9_open_mode_t(9)
  • enum p9_perm_t(9)
  • enum p9_qid_t(9)
  • struct p9_qid(9)
  • struct p9_wstat(9)
  • struct p9_iattr_dotl(9)
  • struct p9_fcall(9)

mwah πŸ’‹ that's the whole page β€” brought to you by ./include/net/9p, dated October 2026, and stamped enum p9_debug_flags(9) at the bottom like a little signature. go trace something, queen πŸ‘‘βœ¨

πŸ“¦ where this page comes from