v9fs_create(9)
π v9fs_create(9) β the Kernel API Manual page you've been waiting for
okay so bestie, welcome to the kernel API manual, section 9, and today's main character is v9fs_create β¨ this one's a kernel function, so grab your iced coffee and let's get into it π«Ά
πΈ NAME πΈ
v9fs_create β literally just: Create a file π that's the whole name section, no notes, iconic behavior honestly.
β¨ SYNOPSIS β¨
struct p9_fid * v9fs_create (struct v9fs_session_info *v9ses , struct
inode *dir , struct dentry *dentry , char *extension , u32 perm , u8
mode );
like, it hands you back a struct p9_fid * and it takes six whole arguments β she's high maintenance but she's worth it π
π¦ ARGUMENTS π¦
v9sesβ the session information. the vibe check of the session, if you will πdirβ the directory thatdentryis being created in. it's the location, the venue, the address πdentryβ the dentry that's being created. that's the baby. the new one. the whole point π₯Ήextensionβ the 9p2000.u extension string to support devices, etc. etc. is doing a LOT of heavy lifting in that sentence but okay go off π§permβ create permissions πmodeβ open mode β
ngl bestie, these argument descriptions are giving "the man page was in a hurry" but I promised to keep every detail so here we are π
π SEE ALSO π
obligatory link dump incoming β and this list is LONG, she's a social butterfly fr fr π¦
Kernel file ./fs/9p/vfs_inode.c, plus:
unixmode2p9mode(9)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_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)
and that's the page bestie!! π«Ά she lives at ./fs/9p, her version stamp is v9fs_create(9), and she was dated October 2026 β so like, future girlie of the man pages π slay, no cap, 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