NVME-WDC-PURGE(1)

πŸ¦‹ nvme-wdc-purge β€” the NVMe Manual page, bestie edition ✨

okay so picture this: you're holding a man page from the NVMe Manual, and it's about one very specific little command. let's get into it πŸ’…


πŸ’– NAME πŸ’–

nvme-wdc-purge β€” sends the NVMe WDC Purge Vendor Unique Command, and then hands you back the result. that's it, that's the vibe 🫢


✨ SYNOPSIS ✨

nvme [<global-options>] wdc purge <device>

🌸 DESCRIPTION 🌸

so for the NVMe device you point at, this thing sends a Vendor Unique WDC Purge command and gives you the result back. slay.

the <device> parameter is mandatory β€” like, non-negotiable, you gotta give it one πŸ™ˆ β€” and it can be either:

  • the NVMe character device (example: /dev/nvme0), or
  • a namespace block device (example: /dev/nvme0n1)
⚠️ real talk: this will only work on WDC devices that support this feature. results for any other device are undefined β€” as in, nobody knows what happens, and we're not finding out together πŸ’€

on success it returns 0. otherwise you get an error code. periodt.


πŸŽ€ OPTIONS πŸŽ€

no options yet. literally none. she's minimal, she's mysterious, she's iconic ✨


πŸ‘‘ GLOBAL OPTIONS πŸ‘‘

these bad boys are defined at the top-level nvme command and they're all available to this subcommand too:

  • --dry-run β€” prints the command that would be executed, but does not actually execute it. window shopping, essentially πŸ›οΈ
  • --no-ioctl-probing β€” turns off probing for 64-bit IOCTL support.
  • --no-retries β€” disables the retry logic on transient errors. no second chances, we move πŸ’…
  • -o <fmt>, --output-format=<fmt> β€” sets the reporting format to normal, tabular, 'json, or binary. only one output format at a time, pick your fighter.
  • --output-format-version=<version> β€” selects the output format version. version 1 uses the original field naming, while version 2 (the default) gives you more consistent and script-friendly field names. any other version? rejected. hard pass 🚫
  • --quiet β€” suppresses informational messages. errors still get reported, and --quiet cancels any --verbose for the library log level. shhh 🀫
  • --set-options=<key=value>[,<key=value>...] β€” sets libnvme library options for this invocation. supported keys are force-4k, mi-probe-enabled, test-base-dir and test-sysfs-dir.
  • --timeout=<ms> β€” sets the timeout for the command in milliseconds. infinite or -1 waits without a time limit (0xffffffff). the patience of a saint, fr.
  • -v, --verbose β€” increases the level of detail in the output. you can specify it multiple times to crank the verbosity even higher πŸ“ˆ

these options can also be set as machine-wide defaults in nvme-cli.conf(5). and a command-line flag always overrides the file β€” the CLI is the main character here πŸ‘‘


🌈 EXAMPLES 🌈

  • has the program issue the WDC Purge Vendor Unique Command:
# nvme wdc purge /dev/nvme0n1

⭐ NVME ⭐

part of the nvme-user suite 🧚


and that's the whole page, bestie πŸ’– this was <NVMe>, dated 10/30/2026 β€” catch you on the next NVME-WDC-PURGE(1) πŸŽ€

πŸ“¦ where this page comes from