ata_host_detach(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ata_host_detach(9) πŸ’…

okay so this is the Kernel API Manual page for one very specific cleanup moment: detaching every port from an ATA host. It's giving β€œbye bestie, all ports are leaving the group chat” energy, and honestly? Iconic. πŸ’–


🌸 NAME 🌸

ata_host_detach β€” detach all ports of an ATA host. That's the whole mission, and it ate. ✨

✨ SYNOPSIS ✨

Here's the signature, no cap:

void ata_host_detach (struct ata_host *host );

πŸŽ€ ARGUMENTS πŸŽ€

  • host β€” the host to detach. That's it, that's the argument, she's simple and effective. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

So what does it actually do? It detaches all ports of host. All of them. Full port detachment era. πŸ’…

LOCKING: Kernel thread context (may sleep). That's the locking note, bestie β€” it may sleep, so keep that in mind. 😭

πŸ’œ SEE ALSO πŸ’œ

Kernel file: ./drivers/ata/libata-core.c β€” and the whole extended-universe roster is:


Source/version corner: ./drivers/ata β€” October 2026 β€” ata_host_detach(9), signing off with a little port-detachment sparkle. πŸ«Άβœ¨πŸ’…

πŸ“¦ where this page comes from