ENUM P9_QID_T(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ enum p9_qid_t(9) πŸ¦‹

okay so real talk, bestie β€” this is a page straight out of the Kernel API Manual, and it's all about enum p9_qid_t. it's short, it's sweet, and it's genuinely iconic once u get the vibe. let's go πŸ’…


✨ NAME ✨

enum p9_qid_t β€” QID types. that's it, that's the whole name. slay.


🌸 SYNOPSIS 🌸

here's the whole enum, exactly as it lives, don't touch a single character:

enum p9_qid_t {
    P9_QTDIR ,
    P9_QTAPPEND ,
    P9_QTEXCL ,
    P9_QTMOUNT ,
    P9_QTAUTH ,
    P9_QTTMP ,
    P9_QTSYMLINK ,
    P9_QTLINK ,
    P9_QTFILE

};

like, that's the entire cast of characters. no cap. πŸŽ€


πŸŽ€ Constants πŸŽ€

okay so these are the members, one by one, with zero skips because we don't do that here:

  • P9_QTDIR β€” directory. it's giving folder energy πŸ“
  • P9_QTAPPEND β€” append-only. u can add but u cannot rewrite the past, periodt ✨
  • P9_QTEXCL β€” excluse use (only one open handle allowed). yes it says "excluse" in the original and yes we're keeping it, character for character, iykyk πŸ’€ β€” the vibe is exclusive, single-handle-only, no sharing bestie
  • P9_QTMOUNT β€” mount points 🧚
  • P9_QTAUTH β€” authentication file πŸ”
  • P9_QTTMP β€” non-backed-up files. temporary baddies, they do not get saved πŸ™ˆ
  • P9_QTSYMLINK β€” symbolic links (9P2000.u) πŸ¦‹
  • P9_QTLINK β€” hard-link (9P2000.u) πŸ”—
  • P9_QTFILE β€” normal files. the main characters of the filesystem fr fr ⭐

πŸ’œ Description πŸ’œ

bestie, here's the tea β˜• β€” QID types are a subset of permissions. they're primarily used to differentiate semantics for a file system entity via a jump-table. like, that's their whole job. their value is also the most significant 16 bits of the permission_t. the way that's so specific and so important, honestly πŸ‘‘

and here's the reference they give u, keeping it exactly:

See Also: http://plan9.bell-labs.com/magic/man2html/2/stat


🌈 SEE ALSO 🌈

more reading, all of it, no skipping bestie 🫢

Kernel file ./include/net/9p/9p.h β€” plus these absolute icons:

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

go read them, they're all gonna be obsessed with u πŸ’–


okay that's the whole page, mwah πŸ’‹ β€” this one came from ./include/net/9p, dated October 2026. go be a main character with ur QID types, bestie! πŸŒΈπŸ‘‘

πŸ“¦ where this page comes from