rpc_create_client_dir(9)
π rpc_create_client_dir β the group-chat version π
okay so bestie, you found a kernel API manual page β that's rpc_create_client_dir from the Kernel API Manual (section 9, kernel-space functions, iykyk). sit down, hydrate, let's go π«Ά
β¨ NAME β¨
rpc_create_client_dir β literally just "create a new rpc_client directory in rpc_pipefs". that's the whole vibe. πΈ
π SYNOPSIS π
int rpc_create_client_dir (struct dentry *dentry , const char *name ,
struct rpc_clnt *rpc_client );
yes the spacing is weird, that's how the manpage prints it, leave her alone π
π¦ ARGUMENTS π¦
dentryβ the parent of the new directory. like, the folder your new folder lives inside. the mothership. πnameβ the name of the new directory. what you're gonna call her β¨rpc_clientβ the rpc client to associate with this directory. she comes pre-linked to a client, no cap.
π₯ DESCRIPTION π₯
so what actually happens?? this function creates a directory at the given path, associated with rpc_clnt π§
and inside that directory? oh she's stocked. it will contain:
- a file named
"info"β with some basic information about the client, cute little ID card vibes π - plus any
"pipes"that may later be created usingrpc_mkpipeπ
that's it, that's the function. short, sweet, main character energy.
β SEE ALSO β
go read the kernel file ./net/sunrpc/rpc_pipe.c first, bestie, it's the source of truth π
the whole friend group also includes:
rpc_queue_upcall(9)rpc_mkpipe_dentry(9)rpc_unlink(9)rpc_init_pipe_dir_head(9)rpc_init_pipe_dir_object(9)rpc_add_pipe_dir_object(9)rpc_remove_pipe_dir_object(9)rpc_find_or_alloc_pipe_dir_object(9)rpc_remove_client_dir(9)rpc_gssd_dummy_populate(9)
ok tiny heads-up: they're all listed under Kernel file ./net/sunrpc/rpc_pipe.c in the original, so if you're hunting, that's your map πΊοΈ
alright that's the page!! sourced from ./net/sunrpc, dated October 2026 β so she's from the future, iconic behaviour honestly πβ¨ bye bestie, go make some directories π«Άπ
π¦ 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