lsm_pool_...t_type_get(3)
β¨ lsm_pool_element_type_get β like, what can this pool even MAKE tho π
okay bestie, welcome to the Libstoragemgmt C API Manual πΈ the function we're stanning today is lsm_pool_element_type_get, and she's literally the "so what are you gonna be when you grow up" question, but for a storage pool. no cap. π«Ά
π SYNOPSIS
uint64_t lsm_pool_element_type_get (lsm_pool *p);
that's it. one argument. one return. she's lowkey simple like that. β¨
π ARGUMENTS
pβ the pool you want the element type for. give her the pool, she tells you her dreams. π
π¦ VERSION
1.0 β the O.G., the blueprint, the main character origin story. periodt.
π DESCRIPTION
so basically: you hand her a pool, and she tells you what kind of element that pool could be used to create. that's the whole vibe. it's giving "career counselor but for storage pools" and honestly? obsessed. π₯
π RETURN
she returns a uint64_t β and heads up bestie, this is a bit sensitive field (like, bitwise flags energy, iykyk), so the possible values are:
0β if it's unknown or unsupported. we don't know her, she's a mystery. πLSM_POOL_ELEMENT_TYPE_VOLUMEβ this pool can create a volume. πLSM_POOL_ELEMENT_TYPE_FSβ this pool can create a file system. πLSM_POOL_ELEMENT_TYPE_POOLβ this pool can create a sub-pool. pools within pools, it's giving inception. πLSM_POOL_ELEMENT_TYPE_DELTAβ this pool could hold delta data for snapshots. snap snap. πΈLSM_POOL_ELEMENT_TYPE_VOLUME_FULLβ this pool could create a fully allocated volume. no shortcuts, all in. π₯LSM_POOL_ELEMENT_TYPE_VOLUME_THINβ this pool could create a thin provisioned volume. skinny legend behavior. π§LSM_POOL_ELEMENT_TYPE_SYS_RESERVEDβ this pool is reserved for system internal use. hands off, she's working. π«
ngl, since it's a bit sensitive field, don't just == it and call it a day β those flags can stack. okay that's my one bit of nagging, love u. π
so yeah. that's the whole page. go get that element type, bestie. β¨
β with love, from the Libstoragemgmt C API Manual, version 1.0, dated February 2026, filed under lsm_pool_...t_type_get(3) ππ
π¦ 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