NVME-FEAT-VOLATILE(1)
π nvme-feat-volatile-wc β from the NVMe Manual β¨
okay bestie, this is the page for nvme-feat-volatile-wc, straight out of the NVMe Manual, and it's literally all about getting and setting the volatile write cache feature. yes, that's the whole vibe. let's go π«Ά
β¨ NAME β¨
nvme-feat-volatile-wc β get and set volatile write cache feature π
π¦ SYNOPSIS π¦
nvme [<global-options>] feat volatile-wc <device>
[--wce | -w]
[--sel=<select> | -S <select>] [--save | -s]
πΈ DESCRIPTION πΈ
Get and set volatile write cache feature. that's it, that's the job, and she does it flawlessly π
the <device> parameter is mandatory β no vibes-only invocations, she needs an actual device. and it can be either the NVMe character device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1). pick your fighter π
if the setting option (--wce) is specified, the command will update the volatile write cache configuration. if the option is omitted, it will retrieve and display the current configuration β so with no --wce you're just peeking, not touching π
on success it returns 0, error code otherwise. so like, 0 = slay, anything else = check yourself π
π OPTIONS π
-w,--wceβ Write Cache Enable. if specified, enables the volatile write cache β¨ if omitted when updating, disables the volatile write cache. so the flag is the on-switch, and its absence is the off-switch, no cap.-S <select>,--sel=<select>β Select (SEL): this field specifies which value of the attributes to return in the provided data π§ here's the whole menu, bestie:0βcurrentβ Current1βdefaultβ Default2βsavedβ Saved3βsupportedβ Supported capabilities
-s,--saveβ Save the attribute so that it persists through all power states and resets. yes, she'll remember even after the lights go out π permanent main character energy.
π GLOBAL OPTIONS π
these are defined at the top-level nvme command and are available to this subcommand β so they're like, the group chat everyone's in π«Ά
--dry-runβ print the command that would be executed, but do not actually execute it. all talk, no action, on purpose.--no-ioctl-probingβ disable probing for 64-bit IOCTL support.--no-retriesβ disable retry logic on transient errors. one shot, one opportunity.-o <fmt>,--output-format=<fmt>β set the reporting format tonormal,tabular,'json, orbinary. only one output format may be used at a time β pick one, don't be greedy π--output-format-version=<version>β select the output format version. version1uses the original field naming, while version2(default) provides more consistent and script-friendly field names. other versions are rejected β do not try it, she will not budge π--quietβ suppress informational messages. errors are still reported, and--quietcancels any--verbosefor the library log level. so it literally overrides the yapping.--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. list them out, she handles it β¨--timeout=<ms>β set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). patience is a virtue, and also a hex value π-v,--verboseβ increase the level of detail in the output. may be specified multiple times to further increase verbosity. stack it like your fave serum π§΄
these options can also be set as machine-wide defaults in nvme-cli.conf(5). a command-line flag always overrides the file. always. periodt.
π EXAMPLES π
- has the program issue a
feat volatile-wcto get the current configuration β the little look-but-don't-touch moment π
# nvme feat volatile-wc /dev/nvme0
- has the program issue a
feat volatile-wcto enable the volatile write cache β turning it on and making it stick π₯
# nvme feat volatile-wc /dev/nvme0 --wce --save
β NVME β
part of the nvme-user suite. iconic, honestly.
and that's the whole page, bestie β NVMe, dated 10/30/2026, of the NVME-FEAT-VOLATILE(1) manual. go forth and cache responsibly ππ¦β¨
π¦ 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