NVME-WDC-GET-DEV-CAPABILITIES-LOG(1)
π nvme-wdc-get-dev-capabilities-log β the manual page, but make it cute
okay so bestie, welcome to nvme-wdc-get-dev-capabilities-log(1) β yes that's the whole name, yes it's a mouthful, no we're not shortening it, it's iconic π. This is a page from the nvme manual, and it's literally about sending a WDC plugin command that pulls the device capabilities log off your NVMe drive and hands you back the parsed output. slay.
β¨ NAME β¨
nvme-wdc-get-dev-capabilities-log β send the NVMe WDC get-dev-capabilities-log plugin command, and get the parsed log output back. that's the whole vibe π
β¨ SYNOPSIS β¨
nvme [<global-options>] wdc get-dev-capabilities-log <device>
β¨ DESCRIPTION β¨
so for the NVMe device you give it, this sends a WDC plugin get-dev-capabilities-log command and outputs the device capabilities log data. the --output-format option will format the output as specified, so you get to pick the aesthetic π
.
the <device> parameter is mandatory β no skipping it, bestie β and it may be either the NVMe character device (ex: /dev/nvme0).
heads up: this will only work on WDC devices that support this log page. results for any other device are undefined π like genuinely undefined, don't come for me.
on success it returns the parsed device capabilities log page data, error code otherwise. periodt.
β¨ OPTIONS β¨
πΈ GLOBAL OPTIONS πΈ
these following options are defined at the top-level nvme command and are available to this subcommand, iykyk:
--dry-runβ print the command that would be executed, but don't actually execute it. window shopping for commands, basically π«Ά--no-ioctl-probingβ disable probing for 64-bit IOCTL support.--no-retriesβ disable retry logic on transient errors. one shot, no second chances π-o <fmt>,--output-format=<fmt>β set the reporting format tonormal,tabular,'json, orbinary. only one output format may be used at a time β pick a lane bestie β¨--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. any other versions get rejected π--quietβ suppress informational messages. errors are still reported, and--quietcancels any--verbosefor the library log level. so it's like, the anti-yapping flag.--set-options=<key=value>[,<key=value>...]β set libnvme library options for this one 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 "we'll be here a while" setting π°οΈ-v,--verboseβ increase the level of detail in the output. may be specified multiple times to further increase verbosity. stack it, queen π
these options can also be set as machine-wide defaults in nvme-cli.conf(5). a command-line flag always overrides the file. no cap. π₯
β¨ EXAMPLES β¨
- has the program issue the WDC
get-dev-capabilities-logplugin command:
# nvme wdc get-dev-capabilities-log /dev/nvme0
β¨ NVME β¨
part of the nvme-user suite. family π
π¦ and that's the whole page, bestie β no notes. this iconic little number comes from the nvme-wdc-get-dev source/version line and the date stamped at the bottom of the original page, both of which are giving very official energy. go forth and read your capabilities log ππ
π¦ 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