ata_dev_reread_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ata_dev_reread_id β€” a Kernel API Manual moment (yes, section 9, bestie)

okay so listen. we're in the Kernel API Manual, and today's main character is ata_dev_reread_id(9). it's a libata girlie thing. let's go πŸ¦‹


✨ NAME ✨

ata_dev_reread_id β€” Re-read IDENTIFY data. that's it, that's the vibe. she re-reads. she IDENTIFYs. iconic.

🌸 SYNOPSIS 🌸

int ata_dev_reread_id (struct ata_device *dev , unsigned int
readid_flags );

like, look at her. two whole arguments, returns an int. no cap. ✨

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the target ATA device. the one we're staring at. the subject of the vibe check.
  • readid_flags β€” the read ID flags. yes, they're called that. flags for reading the ID. we support her.

🫢 DESCRIPTION 🫢

so what she actually does: she re-reads the IDENTIFY page and makes sure dev is still attached to the port. that's the whole bit. re-read the IDENTIFY page, confirm the device didn't ghost the port. ngl it's giving "hey bestie, you still there?" energy 🫢

LOCKING: Kernel thread context (may sleep). so like β€” she may sleep. she's allowed. do not call her from somewhere she can't nap, that's the rule. 😭

πŸ‘‘ RETURN πŸ‘‘

  • 0 on success. slay. we love a zero.
  • negative errno otherwise. not slay, but at least she's honest about it. πŸ’€

🌈 SEE ALSO 🌈

okay this is the part where I hold your hand, because the SEE ALSO list here is long β€” she has, like, so many friends. and also one file:

Kernel file ./drivers/ata/libata-core.c

and then everybody else, in the exact order they're listed, because I do not disrespect the ordering:

bestie. eighty-eight cross-references. I counted. do not skip them. they're all real and they all matter. πŸ’œ

and that's the page!! πŸ’–

sign-off time: this one comes from the ./drivers/ata corner of the world, dated October 2026, and yeah β€” it's ata_dev_reread_id(9) all the way down. periodt. πŸŽ€βœ¨πŸ”₯

πŸ“¦ where this page comes from