lsm_volum...state_get(3)
β¨ NAME β¨
lsm_volume_admin_state_get β bestie, this is the one that retrieves the administrative status of the volume. that's it. that's the whole job. π
this page lives in the Libstoragemgmt C API Manual, so like, you're in the right place, don't worry π«Ά
πΈ SYNOPSIS πΈ
uint32_t lsm_volume_admin_state_get (lsm_volume *v);
okay so it hands you back a uint32_t and it wants one lil volume pointer. simple. clean. iconic. β¨
π ARGUMENTS π
vβ the Volume you want the administrative status for. that's the one. give it here. π«΄
π VERSION π
1.0 β yes bestie, we're on version 1.0, the classic, the original flavor π
π¦ DESCRIPTION π¦
Retrieves administrative status of the volume.
that's literally the entire vibe. you pass the volume, it tells you the admin status. no cap, no drama, no side quests. π
π RETURN π
so it returns a uint64_t, and this is the Status of the specified volume β which, heads up, is a bit sensitive field π like, treat it with care, okay?
the possible values are:
LSM_VOLUME_ADMIN_STATE_ENABLEDβ the volume is not explicitly disabled by the administrator. this is the normal state of a volume. the default. the main character state, honestly. β¨LSM_VOLUME_ADMIN_STATE_DISABLEDβ the volume is explicitly disabled by the administrator, or via the methodlsm_volume_disable. and bestie, when you see this one? > All block access will be rejected. π so like, everything's locked out. periodt.
February 2026 π lsm_volume_admin_state_get π lsm_volum...state_get(3)
and that's the whole page bestie!! thanks for reading my lil manpage, mwah π go check your admin state, stay enabled, stay slay π¦β¨
π¦ 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