unixmode2p9mode(9)
π unixmode2p9mode(9) β like, the whole Kernel API Manual moment
okay so bestie, welcome to unixmode2p9mode(9), the kernel API page you didn't know you needed π«Ά this is the manual entry, she's living her best life, and we're gonna get into it.
β¨ NAME β¨
unixmode2p9mode β convert unix mode bits to plan 9 π¦
like, that's literally her whole job. unix mode bits in, plan 9 out. no cap.
πΈ SYNOPSIS πΈ
u32 unixmode2p9mode (struct v9fs_session_info *v9ses , umode_t mode );
she takes v9ses and mode, and she gives you back a u32. that's the vibe. π
π ARGUMENTS π
v9sesβ v9fs session information π like, the whole session context, bestie.modeβ mode to convert β¨ the mode. being converted. that's it, that's the argument.
π SEE ALSO π
okay so this part is long but we do NOT skip, we do not summarise, we list every single one because every reference is iconic in her own way π
Kernel file ./fs/9p/vfs_inode.c β and then, in all her glory, the whole friend group:
p9mode2perm(9)p9mode2unixmode(9)v9fs_uflags2omode(9)v9fs_blank_wstat(9)v9fs_alloc_inode(9)v9fs_free_inode(9)v9fs_evict_inode(9)v9fs_at_to_dotl_flags(9)v9fs_dec_count(9)v9fs_remove(9)v9fs_create(9)v9fs_vfs_create(9)v9fs_vfs_mkdir(9)v9fs_vfs_lookup(9)v9fs_vfs_unlink(9)v9fs_vfs_rmdir(9)v9fs_vfs_rename(9)v9fs_vfs_getattr(9)v9fs_vfs_setattr(9)v9fs_stat2inode(9)v9fs_vfs_get_link(9)v9fs_vfs_mkspecial(9)v9fs_vfs_symlink(9)v9fs_vfs_link(9)v9fs_vfs_mknod(9)
fr fr, every one of them. go read them. or don't. but they're there. π
okay that's the page!! hope this helped bestie, mwah π
and a cute little sign-off for the footer energy: this one's sourced from ./fs/9p, dated October 2026, and she goes by unixmode2p9mode(9) π§ββοΈπΈ periodt.
π¦ 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