nvme_verify(2)

✨ nvme_verify β€” the libnvme API manual, but make it cute πŸ’…

okay bestie, welcome to the nvme_verify page of the libnvme API manual πŸŽ€ yes that's a section 2 situation, we're in the syscall/library zone, come on in πŸ¦‹


πŸ‘‘ NAME

nvme_verify β€” sends an nvme verify command ✨ like, that's the whole job. she verifies. that's her.


🌸 SYNOPSIS

int nvme_verify (struct nvme_io_args *args );

🫢 ARGUMENTS

  • args β€” a struct nvme_io_args argument structure πŸ’– (yes bestie, it's the arg struct, she's carrying the whole vibe)

πŸ’« DESCRIPTION

okay so the Verify command does a vibe check on your stored information πŸ” β€” she verifies the integrity of it by reading data and metadata, if applicable, for the LBAs indicated 🌈

and here's the gag, the iconic part: she does all of that without transferring any data or metadata to the host πŸ’… no cap. she looks. she checks. she says nothing back to you. main character energy honestly πŸ‘‘


πŸ”₯ RETURN

so what do you get back? 🌸

  • the nvme command status if a response was received β€” peep enum nvme_status_field for the deets 🫑
  • or -1 with errno set, otherwise 😭
ngl bestie, if you see that -1 just go read your errno, she's trying to tell you something fr fr πŸ’€

🩷 SEE ALSO

(the original page doesn't list any SEE ALSO refs, so we're just gonna ✨ skip ✨ β€” but shoutout to enum nvme_status_field, we see you 🌟)


aaaaand that's the whole page, no notes πŸŽ€ this was written in July 2026 (the date on the footer bestie, iykyk πŸ“…) and it belongs to the libnvme API manual β€” nvme_verify, section 2, periodt πŸ’– byeee, go verify something πŸ¦‹βœ¨πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from