summaryrefslogtreecommitdiffstats
path: root/Documentation/nvme-delete-ns.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/nvme-delete-ns.txt')
-rw-r--r--Documentation/nvme-delete-ns.txt44
1 files changed, 44 insertions, 0 deletions
diff --git a/Documentation/nvme-delete-ns.txt b/Documentation/nvme-delete-ns.txt
new file mode 100644
index 0000000..1b306b2
--- /dev/null
+++ b/Documentation/nvme-delete-ns.txt
@@ -0,0 +1,44 @@
+nvme-id-ns(1)
+=============
+
+NAME
+----
+nvme-delete-ns - Send NVMe Namespace Management delete namespace command, return result.
+
+SYNOPSIS
+--------
+[verse]
+'nvme delete-ns' <device> [--namespace-id=<nsid> | -n <nsid>]
+ [--output-format=<fmt> | -o <fmt>] [--verbose | -v]
+
+DESCRIPTION
+-----------
+For the NVMe device given, sends an nvme namespace management command
+to delete the requested namespace and provides the result.
+
+The <device> parameter is mandatory and may be either the NVMe character
+device (ex: /dev/nvme0), or a namespace block device (ex: /dev/nvme0n1).
+The `'--namespace-id'` option is mandatory.
+
+OPTIONS
+-------
+-n <nsid>::
+--namespace-id=<nsid>::
+ The namespace identifier to delete.
+
+-o <fmt>::
+--output-format=<fmt>::
+ Set the reporting format to 'normal', 'json' or 'binary'. Only one
+ output format can be used at a time.
+
+-v::
+--verbose::
+ Increase the information detail in the output.
+
+EXAMPLES
+--------
+No examples yet.
+
+NVME
+----
+Part of the nvme-user suite