lsm_nfs_e...fs_id_get(3)

πŸ“¦
version 1.10.3 Β· 3 versions
, in fedora 43, fedora 44

πŸ’– 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 the fs_id for. 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