p9mode2unixmode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so this is p9mode2unixmode(9) from the Kernel API Manual, and it's literally the β€œconvert plan9 mode bits to unix mode bits” girlie πŸ’…βœ¨. That's the whole name, no cap.


✨ SYNOPSIS ✨

umode_t p9mode2unixmode (struct v9fs_session_info *v9ses , struct p9_wstat *stat , dev_t *rdev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • v9ses β€” the v9fs session information 🫢. Like, the session info the function needs.
  • stat β€” the p9_wstat from which the mode need to be derived 🌸. That's where the mode comes from, bestie.
  • rdev β€” the major number and minor number when we're dealing with device files πŸ“ŸπŸ’€.

πŸ’– SEE ALSO πŸ’–

Kernel file: ./fs/9p/vfs_inode.c β€” go peek πŸ‘€βœ¨

the whole 9p bestie extended universe:

mwah πŸ’‹ β€” sourced from ./fs/9p, dated October 2026. bye bestie, go convert those bits πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from