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
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms