lsm_disk_link_type_get(3)
β¨ lsm_disk_link_type_get β¨
okay bestie, welcome to the Libstoragemgmt C API Manual π this one's a lil function called lsm_disk_link_type_get, and it's literally just "hey, what kind of wire is this disk attached with?" energy. no cap.
πΈ NAME πΈ
lsm_disk_link_type_get β retrieves the link type for the disk. that's it. that's the whole job. she's simple, she's focused, she serves π«Ά
π SYNOPSIS π
lsm_disk_link_type lsm_disk_link_type_get (lsm_disk *d);
π¦ ARGUMENTS π¦
dβ the disk you want the link type for. that's the one. the main character of this whole operation π
π VERSION π
1.3 β yes she's been around a minute, and she's still iconic for it.
π DESCRIPTION π
Retrieves the disk physical link type. like, what is this disk actually plugged into? FC? SAS? USB? NVMe? we find out. it's giving "networking but make it storage" fr fr.
π CAPABILITY π
LSM_CAP_DISK_LINK_TYPE
(if you're vibe-checking whether a plugin can even do this, that's the flag to check first, iykyk)
β RETURN β
Returns an lsm_disk_link_type β the disk link type. here are all the possible values, no skipping, we list every single one:
LSM_DISK_LINK_TYPE_NO_SUPPORTβ the plugin does not support this property. not her department, respectfully πLSM_DISK_LINK_TYPE_UNKNOWNβ either yourdargument isNULL, or the plugin tried to detect the link type and failed to figure it out. mystery vibes, but the un-fun kind πLSM_DISK_LINK_TYPE_FCβ Fibre ChannelLSM_DISK_LINK_TYPE_SSAβ Serial Storage Architecture, old IBM tech. vintage. a real throwback era πLSM_DISK_LINK_TYPE_SBPβ Serial Bus Protocol, used by IEEE 1394LSM_DISK_LINK_TYPE_SRPβ SCSI RDMA ProtocolLSM_DISK_LINK_TYPE_ISCSIβ Internet Small Computer System InterfaceLSM_DISK_LINK_TYPE_SASβ Serial Attached SCSILSM_DISK_LINK_TYPE_ADTβ Automation/Drive Interface Transport Protocol, often used by Tape. tape girlies rise up πΌLSM_DISK_LINK_TYPE_ATAβ PATA/IDE or SATALSM_DISK_LINK_TYPE_USBβ USB diskLSM_DISK_LINK_TYPE_SOPβ SCSI over PCI-ELSM_DISK_LINK_TYPE_PCIEβ PCI-E, e.g. NVMe. the speedy one. the slay one π₯
that's the whole page bestie, every flag, every value, nothing left out π
this was lsm_disk_link_type_get, dated February 2026, from the Libstoragemgmt C API Manual β go forth and link-type responsibly, 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