libnvme(2)

✨ NAME ✨

enum nvme_dst_stc β€” the whole lil enum that says what kind of device self-test action we're asking the Device Self-test command to do πŸ’…

(also hi bestie, this is the libnvme manual, section 2, so like… kernel/API-adjacent vibes, iykyk 🫢)


🌸 SYNOPSIS 🌸

enum nvme_dst_stc {
    NVME_DST_STC_SHORT ,
    NVME_DST_STC_LONG ,
    NVME_DST_STC_HOST_INIT ,
    NVME_DST_STC_VS ,
    NVME_DST_STC_ABORT

};

πŸŽ€ Constants πŸŽ€

okay so these are your five options, your five little moods, your five flavors of "what should the self-test actually do" β€” no cap, that's the whole list ✨

  • NVME_DST_STC_SHORT β€” Start a short device self-test operation. The lil quickie one, the drive just goes brrr for a sec πŸ”₯
  • NVME_DST_STC_LONG β€” Start an extended device self-test operation. The long one. The commitment one. Give it time, bestie πŸ‘‘
  • NVME_DST_STC_HOST_INIT β€” Start a Host-Initiated Refresh operation. Yeah it's a refresh, and yeah the host is the one initiating it πŸ’…
  • NVME_DST_STC_VS β€” Start a vendor specific device self-test operation. "VS" = vendor specific, meaning your drive's manufacturer does whatever they wanna do here, and honestly? iconic 🌈
  • NVME_DST_STC_ABORT β€” Abort device self-test operation. Changing your mind is valid, periodt πŸ›‘βœ¨

fr fr: these are the exact constant names, so type them character for character β€” no renaming, no lowercase-ifying, the enum will Not forgive you 😭

and that's the whole page, we ate and left no crumbs πŸ“

source/version: libnvme(2), date: July 2026 β€” mwah, love u, bye bestie πŸ’–πŸ§š

πŸ“¦ where this page comes from