ata_scsi_remove_dev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 ata_scsi_remove_dev(9) 🌸

okay bestie, this is the Kernel API Manual tea on ata_scsi_remove_dev β€” the little function with big β€œremove the attached SCSI device” energy πŸ’…βœ¨


πŸ’– NAME πŸ’–

ata_scsi_remove_dev β€” remove attached SCSI device, periodt.


✨ SYNOPSIS ✨

the signature is literally:

void ata_scsi_remove_dev (struct ata_device *dev );

🫢 ARGUMENTS 🫢

  • dev β€” the ATA device to remove attached SCSI device for. that's the one, bestie πŸŽ€

πŸ’… DESCRIPTION πŸ’…

okay so the main character moment: this function is called from ata_eh_scsi_hotplug and responsible for removing the SCSI device attached to dev. no cap, that's the whole job πŸ’–

LOCKING: Kernel thread context (may sleep). so like… respect the sleepy vibe πŸ˜΄πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

the kernel file is ./drivers/ata/libata-scsi.c β€” that's where the receipts live πŸ“βœ¨

and here's the full SEE ALSO squad, every single one, no skipping:


xoxo, your local Unix bestie πŸ’‹ this was the ata_scsi_remove_dev(9) entry from the Kernel API Manual, sourced from ./drivers/ata, dated October 2026 πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from