lsm_nfs_e...fs_id_get(3)
π NAME π
lsm_nfs_export_fs_id_get β bestie, this is the one that grabs the file system ID off an nfs_export. That's it, that's the whole job. π¦
β¨ SYNOPSIS β¨
const char * lsm_nfs_export_fs_id_get (lsm_nfs_export *exp);
π ARGUMENTS π
expβ the NFS export you want thefs_idfor. Like, the actual one. Hand it over. π«Ά
πΈ VERSION πΈ
1.0 β baby's first version, and she ate. π
π DESCRIPTION π
okay so, you call this bad girl and she retrieves the file system ID for the lsm_nfs_export. That's the vibe. That's the whole errand. β¨
π NOTE π
listen up because this part is not a drill, bestie π
The address you get back is valid until lsm_nfs_export gets freed β so if you need it to live longer than that, you copy the return value. No cap.
And do not free the returned string. Not yours to free. Hands off. π
β RETURN β
Returns a string. π«
And it'll hand you NULL if the argument 'exp' is NULL, or if it's not a valid lsm_nfs_export pointer. Like, she's not gonna guess. Invalid in, NULL out, fr fr. π
that's the whole page, bestie β go forth and fetch those file system IDs responsibly π§
signing off from the Libstoragemgmt C API Manual, page lsm_nfs_export_fs_id_get, section 3 (aka lsm_nfs_e...fs_id_get(3)), dated February 2026 π stay slay, keep your pointers valid π
π¦ where this page comes from
- fedora 43: libstoragemgmt-devel 1.10.3-1.fc43 Β· LGPL-2.1-or-later
- fedora 44: libstoragemgmt-devel 1.10.3-1.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms