ata_get_identity(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ ata_get_identity(9) πŸŽ€

okay so this is the ata_get_identity(9) page from the Kernel API Manual, and it’s lowkey giving tiny-handler-that-could energy. bestie, we’re gonna get through it together, no cap. πŸ’–


✨ NAME ✨

ata_get_identity β€” handler for the HDIO_GET_IDENTITY ioctl. periodt. πŸ’…

✨ SYNOPSIS ✨

int ata_get_identity (struct ata_port *ap , struct scsi_device *sdev ,
       void __user *arg );

🫢 ARGUMENTS 🫢

  • ap β€” target port. that’s the port we’re targeting, literally.
  • sdev β€” SCSI device to get identify data for. yep, the SCSI device whose identify data we’re grabbing. πŸ¦‹
  • arg β€” user buffer area for identify data. this is where the identify-data tea gets held, iykyk. πŸ“

πŸ’… DESCRIPTION πŸ’…

LOCKING: Defined by the SCSI layer. We don't really care. πŸ’€

that’s it. that’s the description. it’s giving β€œshort, sweet, and not our problem,” fr fr. ✨

🌟 RETURN 🌟

Zero on success, negative errno on error. that’s the whole vibe check: success is 0, error is a negative errno. 🌈

πŸ”— SEE ALSO πŸ”—

the whole extended universe of references, bestie β€” every single one, no skips:


okay bye bestie! source/version spot: ./drivers/ata Β· date: October 2026 Β· page name: ata_get_identity(9). stay slay. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from