lsm_system_mode_get(3)
β¨ lsm_system_mode_get β¨
okay bestie, so this one is a page from the Libstoragemgmt C API Manual, and it's all about lsm_system_mode_get(3) β the little function that tells you what mode your system is vibing in. π¦
π NAME π
lsm_system_mode_get β retrieves system mode. that's it. that's the whole job. she's simple, she's focused, she slays. π
πΈ SYNOPSIS πΈ
lsm_system_mode_type lsm_system_mode_get (lsm_system *s);
π ARGUMENTS π
sβ the System you want to retrieve the system mode for. hand her over and she'll tell you what's up. π«Ά
β VERSION β
1.3
π DESCRIPTION π
Retrieves system mode. currently only supports retrieving hardware RAID cards system mode β so that's the one flavor of mode-gossip she's got for you right now, no cap. π
π₯ CAPABILITY π₯
LSM_CAP_SYS_MODE_GET
π RETURN π
returns an lsm_system_mode_type, and here's the whole roster of possible values, bestie β no skipping, we're reading the whole menu: π
LSM_SYSTEM_MODE_UNKNOWNβ the value you get when the argument is invalid or there's a bug. it's giving "idk her" energy. πLSM_SYSTEM_MODE_NO_SUPPORTβ the value when the method you asked for is not supported. she's politely declining, periodt.LSM_SYSTEM_MODE_HARDWARE_RAIDβ the storage system is a hardware RAID card (like HP SmartArray and LSI MegaRAID) and it can expose the logical volume (aka, the RAIDed virtual disk) to the OS while the hardware RAID card itself is handling the RAID algorithm. in this mode, the storage system cannot expose physical disk directly to OS. important!! π¨LSM_SYSTEM_MODE_HBAβ the physical disks can be exposed to the OS directly, no configurations needed whatsoever. SCSI enclosure service might also be exposed to the OS. main character energy, honestly. β¨
and that's the whole page, angel. π§ this one came out of the Libstoragemgmt C API Manual, dated February 2026, and yeah β lsm_system_mode_get(3), we love her, we studied her, we passed the vibe check. go forth and query your modes. ππ
π¦ 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