rpc_create_client_dir(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 using rpc_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:


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