lsm_disk_link_type_get(3)

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

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 your d argument is NULL, 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 Channel
  • LSM_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 1394
  • LSM_DISK_LINK_TYPE_SRP β€” SCSI RDMA Protocol
  • LSM_DISK_LINK_TYPE_ISCSI β€” Internet Small Computer System Interface
  • LSM_DISK_LINK_TYPE_SAS β€” Serial Attached SCSI
  • LSM_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 SATA
  • LSM_DISK_LINK_TYPE_USB β€” USB disk
  • LSM_DISK_LINK_TYPE_SOP β€” SCSI over PCI-E
  • LSM_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