ENUM P9_DEBUG_FLAGS(9)
π 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
- 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