sas_port_delete(9)
π sas_port_delete(9) β like, the whole page, bestie
okay so welcome to the kernel API manual, section 9, and today's main character is sas_port_delete(9). yes bestie we're doing SCSI transport lore today, drink some water π«Ά
β¨ NAME β¨
sas_port_delete β remove SAS PORT. that's it. that's the whole vibe check. one port, gone, bye π
πΈ SYNOPSIS πΈ
void sas_port_delete (struct sas_port *port );
no return value, it's giving void and unbothered π
π ARGUMENTS π
portβ the SAS PORT to remove. that's the one you're yeeting. make sure it's actually the port you meant to delete, iykyk π
π¦ DESCRIPTION π¦
so here's the tea: sas_port_delete removes the specified SAS PORT. periodt.
and like β plot twist β if the SAS PORT has an associated phys, it unlinks them from the port as well. so the phys don't just ghost along with it, they get properly unlinked, no messy situationships left behind πβ¨
π SEE ALSO π
lowkey this is the friend group, the whole squad, the group chat roster π:
Kernel file ./drivers/scsi/scsi_transport_sas.csas_remove_children(9)sas_remove_host(9)sas_get_address(9)sas_tlr_supported(9)sas_disable_tlr(9)sas_enable_tlr(9)sas_ata_ncq_prio_supported(9)sas_phy_alloc(9)sas_phy_add(9)sas_phy_free(9)sas_phy_delete(9)scsi_is_sas_phy(9)sas_port_alloc(9)sas_port_alloc_num(9)sas_port_add(9)sas_port_free(9)scsi_is_sas_port(9)sas_port_get_phy(9)sas_port_add_phy(9)sas_port_delete_phy(9)sas_rphy_initialize(9)sas_end_device_alloc(9)sas_expander_alloc(9)sas_rphy_add(9)sas_rphy_free(9)sas_rphy_delete(9)sas_rphy_unlink(9)sas_rphy_remove(9)scsi_is_sas_rphy(9)sas_attach_transport(9)sas_release_transport(9)
and that's the whole page, bestie, no notes π
the source lives under ./drivers/scsi and this slay little page is dated October 2026 β literally iconic, ate and left no crumbs, go delete that port responsibly π«Άππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms