LLAPI_PATH2FID(3)
β¨ LLAPI_PATH2FID β the llapi_path2fid(3) page, bestie edition β¨
okay so. you're in the Lustre manual, section 3 of the library functions, and this is the page for llapi_path2fid β aka the little function that turns a path name into a File Identifier. it's giving "glow-up for a string" π
πΈ NAME πΈ
llapi_path2fid β translate a path name to a File Identifier
π¦ SYNOPSIS π¦
#include <lustre/lustreapi.h>
int llapi_path2fid(const char *path, struct lu_fid *fid);
π DESCRIPTION π
so like, llapi_path2fid() takes the Lustre file identifier (FID, the moment β¨) for whatever file or directory is named by path, and stores it right into fid. that's it. that's the whole vibe.
and then?? once you have that fid, you can pass it along to all the other llapi_ functions that expect the struct lu_fid data type. it's basically the friendship bracelet you trade so the other functions will talk to you π«Ά
π₯ RETURN VALUES π₯
returns 0 on success, or a negative errno value on failure. no cap.
π ERRORS π
-EINVALβ an invalid argument was specified. somebody passed something weird, bestie.-ENOTTYβpathdoes not reside on a Lustre filesystem. wrong neighborhood, hon π-ENOENTβpathdoes not exist. it's not there. it ghosted you π»
π AVAILABILITY π
llapi_path2fid() is part of the lustre(7) user application interface library, and it's been here since release 2.4.0. og status, fr fr.
π SEE ALSO π
llapi_fd2fid(3)llapi_fid2path(3)llapi_layout_get_by_fid(3)llapi_path2parent(3)llapi_layout(7)lustreapi(7)
and that's the page, periodt π this icon of a manpage lives under the Lustre User API banner and was last touched on 2024-08-28 β go read the whole set, ily, bye πβ¨
π¦ where this page comes from
- ubuntu stonking: lustre-client-utils 2.17.58+dfsg-0ubuntu2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms