nfsd_symlink(9)
π NAME π
okay so bestie, welcome to nfsd_symlink(9) β itβs giving Kernel API Manual energy β¨ and the vibe is literally βCreate a symlink and look up its inode.β No cap.
β¨ SYNOPSIS β¨
__be32 nfsd_symlink (struct svc_rqst *rqstp , struct svc_fh *fhp , char *fname , int flen , char *path , struct nfsd_attrs *attrs , struct svc_fh *resfhp );
π ARGUMENTS π
rqstpβ the RPC transaction thatβs being executed π«Άfhpβ the NFS filehandle of the parent directoryfnameβ the filename of the new symlinkflenβ the length offnamepathβ the content of the new symlink (NUL-terminated) πΈattrsβ the requested attributes of the new objectresfhpβ the NFS filehandle of the new object
π¦ DESCRIPTION π¦
N.B. After this call _both_fhpandresfhpneed anfh_put. Both bestie. Not one. Both. This is important π
Returns nfs_ok on success, or an nfsstat in network byte order.
π SEE ALSO π
Kernel file ./fs/nfsd/vfs.c and the whole friend group:
nfserrno(9)nfsd_lookup(9)nfsd_setattr(9)nfsd4_is_junction(9)nfsd_open_verified(9)nfsd_splice_read(9)nfsd_iter_read(9)nfsd_vfs_write(9)nfsd_read_splice_ok(9)nfsd_read(9)nfsd_write(9)nfsd_commit(9)nfsd_create_setattr(9)nfsd_link(9)nfsd_rename(9)nfsd_unlink(9)nfsd_readdir(9)nfsd_filp_close(9)nfsd_removexattr(9)nfsd_get_case_info(9)
xoxo, your kernel bestie π«Ά this page is from ./fs/nfsd, dated October 2026, and itβs the nfsd_symlink(9) manual page. Slay. π
β¨
π¦ 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