nfs4_proc_get_rootfh(9)
okay so bestie, welcome to nfs4_proc_get_rootfh(9) from the Kernel API Manual β the function whose whole vibe is literally βget file handle for server's pseudoroot.β π
β¨ No cap, the name is giving exactly what it needs to give.
β¨ NAME β¨
nfs4_proc_get_rootfh β get file handle for server's pseudoroot. π
π SYNOPSIS π
Here's the exact signature, copy-paste energy only:
int nfs4_proc_get_rootfh (struct nfs_server *server , struct nfs_fh
*fhandle , struct nfs_fattr *fattr , bool auth_probe );
π ARGUMENTS π
serverβ initializednfs_serverhandle. Like, it's already set up and ready to go. π«Άfhandleβ we fill in the pseudo-fs root file handle. That's the assignment, and it's lowkey iconic. πΈfattrβ we fill in a bare bonesstruct fattr. Bare bones but still booked and busy. πauth_probeβ probe the auth flavours. Yep, that's the whole note. β¨
π DESCRIPTION π
The return-value moment is the whole description: it returns zero on success, or a negative errno. That's it, and honestly? minimalist queen behavior. π
π¦ SEE ALSO π¦
Kernel file ./fs/nfs/nfs4proc.c and the whole friend group:
nfs41_check_expired_locks(9)nfs41_check_open_stateid(9)nfs4_proc_setclientid(9)nfs4_proc_setclientid_confirm(9)nfs4_proc_get_locations(9)nfs4_proc_fsid_present(9)nfs4_test_session_trunk(9)nfs41_test_stateid(9)nfs41_free_stateid(9)
mwah π this page comes from ./fs/nfs, dated October 2026, and it's literally nfs4_proc_get_rootfh(9) β bye bestie π«Άπ
π¦ 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