NVME-SED-DISCOVER(1)
β¨ nvme-sed-discover π <small>(okay so this one lives in the NVMe Manual, hi bestie π)</small>
πΈ NAME πΈ
nvme-sed-discover β the little guy that goes and Discovers SED Opal Locking Features ππ no cap, that's literally its whole job.
π¦ SYNOPSIS π¦
nvme [<global-options>] sed discover [--udev | -u] <device>
π DESCRIPTION π
So what it does is: it queries the NVMe device you hand it, and asks it politely (or not so politely, we don't judge) to spill its SED Opal capabilities. That's it. That's the function. It's giving "just asking questions" energy and honestly? Iconic. π
π OPTIONS π
-u,--udevβ prints the locking info in a form that's suitable for udev rules. like, formatted for udev specifically. that's the vibe. π
π GLOBAL OPTIONS π
Okay so these ones are defined up at the top-level nvme command β they're not this subcommand's own thing, but they're available to it anyway. nepotism but make it useful π
--dry-runβ prints the command that would be executed, but does not actually execute it. all the preview, none of the commitment. π--no-ioctl-probingβ disables probing for 64-bit IOCTL support. π¦--no-retriesβ disables retry logic on transient errors. one shot, one opportunity, no do-overs π-o <fmt>,--output-format=<fmt>β sets the reporting format tonormal,tabular,'json, orbinary. (yes the apostrophe before json is really there, i transcribed it EXACTLY, don't come for me π) Only one output format may be used at a time β pick a lane bestie π--output-format-version=<version>β selects the output format version. Version 1 uses the original field naming, while version 2 (the default) provides more consistent and script-friendly field names. Any other versions get rejected π« β do not test her, she will say no.--quietβ suppresses informational messages. Errors are still reported, and--quietcancels any--verbosefor the library log level. it's giving "i'm not mad i'm just quiet" π€«--set-options=<key=value>[,<key=value>...]β sets libnvme library options for this invocation. The supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir. π--timeout=<ms>β sets the timeout for the command in milliseconds.infiniteor-1waits with no time limit at all (0xffffffff). she will wait forever, literally β³π-v,--verboseβ increases the level of detail in the output. May be specified multiple times to further increase verbosity. the more you say it, the more it says π£οΈβ¨
Also!! these options can be set as machine-wide defaults in nvme-cli.conf(5). But a command-line flag always overrides the file β CLI stays the main character, periodt ππ
π EXAMPLES π
Run it like this:
nvme sed discover /dev/nvme5n1
and the output is doing this whole thing:
Locking Features: Locking Supported : yes Locking Feature Enabled : yes Locked : no Media Encryption : yes MBR Enabled : no MBR Done : no
look at her go π₯Ήπ₯
π§ NVME π§
Part of nvme-cli π«Ά
β cute lil sign-off π β this page came from source/version NVMe, dated 10/30/2026, and it's page NVME-SED-DISCOVER(1) if you need to cite her in your footnotes. mwah πβ¨
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms