lsm_system_list(3)
π lsm_system_list β the Libstoragemgmt C API Manual β¨
okay bestie, welcome to lsm_system_list(3) β she's from the Libstoragemgmt C API Manual and she's literally the girl who hands you the whole lineup of storage systems on your connection. no cap. π
πΈ NAME πΈ
lsm_system_list β Gets a list of systems on this connection. π
β¨ SYNOPSIS β¨
int lsm_system_list (lsm_connect *conn, lsm_system **systems[], uint32_t
*system_count, lsm_flag flags);
π¦ ARGUMENTS π¦
connβ a valid connection. like, it has to be an actual one, not a vibe. π₯systems[]β output pointer oflsm_systemarray. and listen, when you're done with the returned data you gotta free it withlsm_system_record_array_free. don't leave her hanging, that's not main character energy. πsystem_countβuint32_t. the number of systems. the headcount. the roster size. π«Άflagsβ reserved for future use, must beLSM_CLIENT_FLAG_RSVD. periodt, no other value, don't try it. π
π VERSION π
1.0 β she's a classic, iconic, first-edition girlie. β
π DESCRIPTION π
Gets a list of systems on this connection. and okay, what even is a system? so glad you asked bestie: a system represents a storage array or direct attached storage RAID. it's giving very "the whole physical situation." examples include:
- A hardware RAID card:
LSI MegaRAID,HP SmartArray. π₯ - A storage area network (SAN):
EMC VNX,NetApp Filerπ - A software solution running on commodity hardware:
Linux targetd,Nexentaβ¨
and the system properties?? you can pull those with these functions, bestie:
lsm_system_id_getlsm_system_name_getlsm_system_status_getlsm_system_fw_version_getlsm_system_read_cache_pct_getlsm_system_mode_get
it's giving full character sheet. π
π RETURN π
Error code as enumerated by 'lsm_error_number'. like, she will tell you how it went.
LSM_ERR_OK- On success or searched value not found. (yes, both. she's chill like that. π)
LSM_ERR_INVALID_ARGUMENT- When any argument is NULL or invalid flags. π©
π not me reminding you again but fr fr: any NULL argument or a flags value that isn'tLSM_CLIENT_FLAG_RSVDand she's handing youLSM_ERR_INVALID_ARGUMENT. vibe check your args first, bestie.
and that's the whole page, iykyk πΈ this was lsm_system_list(3) from the Libstoragemgmt C API Manual, version 1.0, dated February 2026 β stay iconic, free your arrays, and go slay some storage systems. mwah. πβ¨π
π¦ 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