// SPDX-License-Identifier: GPL-2.0

ndctl-destroy-namespace(1)
=========================

NAME
----
ndctl-destroy-namespace - destroy the given namespace(s)

SYNOPSIS
--------
[verse]
'ndctl destroy-namespace' <namespace> [<options>]

include::namespace-description.txt[]

OPTIONS
-------
include::xable-namespace-options.txt[]
-f::
--force::
	Unless this option is specified the 'destroy namespace'
	operation will fail if the namespace is presently active.
	Specifying --force causes the namespace to be disabled before
	the operation is attempted. However, if the namespace is
	mounted then the 'disable namespace' and 'destroy
	namespace' operations will be aborted.  The namespace must be
	unmounted before being destroyed.

include::../copyright.txt[]

SEE ALSO
--------
linkndctl:ndctl-create-namespace[1]
