NVME-ID-UUID(1)
π NAME π
okay so hi bestie π welcome to the NVME-ID-UUID(1) page from the NVMe Manual β this one is all about nvme-id-uuid, which sends an Identify UUID List command to the device you specify. slay.
β¨ SYNOPSIS β¨
nvme [<global-options>] id uuid <device> [--raw-binary | -b]
π¦ DESCRIPTION π¦
This sends an Identify UUID List command to the specified device and returns the results, no cap. π«Ά
The <device> parameter is mandatory, and it may be either the NVMe character device (ex: /dev/nvme0) or block device (ex: /dev/nvme0n1). pick your fave π
On success it returns 0, error code otherwise. periodt.
β οΈ deprecated-alias tea: the barenvme id-uuidform (without a space) still works as a deprecated alias and will be removed in a future major version. New scripts should usenvme id uuidinstead. πβ¨
π OPTIONS π
-b,--raw-binaryβ Print the raw buffer to stdout. Structure is not parsed by program. This overrides the vendor specific and human readable options. it's giving "just gimme the bytes" π₯
π GLOBAL OPTIONS π
The following options are defined at the top-level nvme command and are available to this subcommand:
--dry-runβ Print the command that would be executed, but do not actually execute it. fake it till you make it, but safely π§--no-ioctl-probingβ Disable probing for 64-bit IOCTL support.--no-retriesβ Disable retry logic on transient errors.-o <fmt>,--output-format=<fmt>β Set the reporting format tonormal,tabular,'json, orbinary. Only one output format may be used at a time.--output-format-version=<version>β Select the output format version. Version 1 uses the original field naming, while version 2 (default) provides more consistent and script-friendly field names. Other versions are rejected.--quietβ Suppress informational messages. Errors are still reported, and--quietcancels any--verbosefor the library log level.--set-options=<key=value>[,<key=value>...]β Set libnvme library options for this invocation. Supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir.--timeout=<ms>β Set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). the way that timeout can just vibe forever π-v,--verboseβ Increase the level of detail in the output. May be specified multiple times to further increase verbosity.
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file. π
π EXAMPLES π
- Have the program issue an
id-uuidto display the structure.
# nvme id uuid /dev/nvme0
π NVME π
Part of the nvme-user suite. iconic, honestly π
okay that's the whole page bestie β cute lil footer sign-off: NVMe, 10/30/2026, NVME-ID-UUID(1) π β¨ bye!
π¦ 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