lsm_system_mode_get(3)

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

✨ 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