NVME-DETACH-NS(1)
π NVME-DETACH-NS(1) β like, the deprecated one, bestie
okay so real talk, this is a page from the NVMe Manual, and it's the nvme-detach-ns girlie. she's giving legacy, she's giving "still here for the old scripts", and honestly? iconic of her to keep showing up. π
β¨ NAME β¨
nvme-detach-ns β sends the NVMe detach namespace command and returns the result. deprecated, bestie, we're literally telling you π
π¦ SYNOPSIS π¦
nvme [<global-options>] detach-ns <device>
[--namespace-id=<nsid> | -n <nsid>]
[--controllers=<ctrl-list,> | -c <ctrl-list,>]
π DESCRIPTION π
So. This is a deprecated alias for nvme-ns-detach(1) β it's been kept around purely for scripts that were written against nvme-cli versions older than 3.0. The options and behavior are identical, no cap, the only thing that survived is the top-level command name itself. π«Ά
New scripts should be using nvme ns detach instead, periodt. This alias prints a deprecation warning on stderr and may be removed in a future release, so like⦠don't get attached.
Heads up, bestie: nvme-ns-detach(1) has the full option reference. go read that one, it's the main character.
π GLOBAL OPTIONS π
These ones are defined up at the top-level nvme command, and they're all available to this subcommand too. slay.
--dry-runβ prints the command it would have executed, but doesn't actually execute it. it's giving window shopping. ποΈ--no-ioctl-probingβ turns off probing for 64-bit IOCTL support.--no-retriesβ disables the retry logic on transient errors. one shot, no second chances π-o <fmt>,--output-format=<fmt>β sets the reporting format tonormal,tabular,'json, orbinary. only one output format at a time, don't be greedy.--output-format-version=<version>β picks the output format version. version1uses the original field naming, while version2(the default β¨) gives you more consistent and script-friendly field names. any other version? rejected. not on the list, not invited. π--quietβ suppresses informational messages. errors still get reported (of course they do), and--quietcancels any--verbosefor the library log level.--set-options=<key=value>[,<key=value>...]β sets libnvme library options for this invocation. supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir.--timeout=<ms>β sets the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). the way that's just foreverβ¦-v,--verboseβ increases the level of detail in the output. you can stack it multiple times to get even more verbose. go off, keep going, we love a yapper π¬
Oh and also β these options can be set as machine-wide defaults in nvme-cli.conf(5). a command-line flag always overrides the file, always. the flag is the main character, the file is the supporting cast. π¬
π EXAMPLES π
No Examples
β¦ yeah. that's it. that's the section. she's empty. π
π§ NVME π§
Part of the nvme-user suite π«Ά
β SEE ALSO β
nvme-ns-detach(1)β the actual one, the one you want, the upgrade. go there bestie π
mwah, that's a wrap! π this little number is from the NVMe manual, dated 10/30/2026 β keep it in your bookmarks, and remember: deprecated doesn't mean unloved, it just means moved on π β¨
π¦ 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