]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
sed: add SED man pages
authorGreg Joyce <gjoyce@linux.ibm.com>
Mon, 17 Mar 2025 20:16:41 +0000 (15:16 -0500)
committerDaniel Wagner <wagi@monom.org>
Tue, 1 Apr 2025 11:41:50 +0000 (11:41 +0000)
man pages for SED plugin commands

Signed-off-by: Greg Joyce <gjoyce@linux.ibm.com>
Documentation/cmd-plugins.txt
Documentation/meson.build
Documentation/nvme-sed-discover.txt [new file with mode: 0644]
Documentation/nvme-sed-initialize.txt [new file with mode: 0644]
Documentation/nvme-sed-lock.txt [new file with mode: 0644]
Documentation/nvme-sed-password.txt [new file with mode: 0644]
Documentation/nvme-sed-revert.txt [new file with mode: 0644]
Documentation/nvme-sed-unlock.txt [new file with mode: 0644]

index ee774088c1f888cefef0d87eaa2d64640ee91147..55f9c98e779f40c4c49f330d459bdd1a877be2d0 100644 (file)
@@ -240,3 +240,21 @@ linknvme:nvme-solidigm-vs-drive-info[1]::
 
 linknvme:nvme-solidigm-workload-tracker[1]::
        Real Time capture Workload Tracker samples
+
+linknvme:nvme-sed-discover[1]::
+       Discover SED Opal Locking Features
+
+linknvme:nvme-sed-initialize[1]::
+       Initialize a SED Opal Device for locking
+
+linknvme:nvme-sed-revert[1]::
+       Revert a SED Opal Device from locking
+
+linknvme:nvme-sed-lock[1]::
+       Lock a SED Opal Device
+
+linknvme:nvme-sed-unlock[1]::
+       Unlock a SED Opal Device
+
+linknvme:nvme-sed-password[1]::
+       Change the SED Opal Device password
index e81db8c902710030950d17beebdf5ac6375dacde..50b1b701b2f2fbfae2dae9f4b0c9dc541dfc39dd 100644 (file)
@@ -222,6 +222,12 @@ adoc_sources = [
   'nvme-zns-zone-append',
   'nvme-zns-zone-mgmt-recv',
   'nvme-zns-zone-mgmt-send',
+  'nvme-sed-discover',
+  'nvme-sed-initialize',
+  'nvme-sed-lock',
+  'nvme-sed-password',
+  'nvme-sed-revert',
+  'nvme-sed-unlock',
 ]
 
 adoc_includes = [
diff --git a/Documentation/nvme-sed-discover.txt b/Documentation/nvme-sed-discover.txt
new file mode 100644 (file)
index 0000000..b6e99b2
--- /dev/null
@@ -0,0 +1,41 @@
+nvme-sed-discover(1)
+====================
+
+NAME
+----
+nvme-sed-discover - Discover SED Opal Locking Features
+
+SYNOPSIS
+--------
+[verse]
+'nvme sed discover' [--verbose | -v] [--udev | -u]  <device>
+
+DESCRIPTION
+-----------
+Query the NVMe device given to determine its SED Opal capabilities.
+
+OPTIONS
+-------
+-v::
+--verbose::
+       Print extended feature discovery information.
+
+-u::
+--udev::
+       Print locking information in form suitable for udev rules.
+
+EXAMPLES
+--------
+nvme sed discover /dev/nvme5n1
+Locking Features:
+        Locking Supported               : yes
+        Locking Feature Enabled         : yes
+        Locked                          : no
+        Media Encryption                : yes
+        MBR Enabled                     : no
+        MBR Done                        : no
+
+
+NVME
+----
+Part of nvme-cli
diff --git a/Documentation/nvme-sed-initialize.txt b/Documentation/nvme-sed-initialize.txt
new file mode 100644 (file)
index 0000000..4e3db8a
--- /dev/null
@@ -0,0 +1,30 @@
+nvme-sed-initialize(1)
+======================
+
+NAME
+----
+nvme-sed-initialize - Initialize a SED Opal Device for locking
+
+SYNOPSIS
+--------
+[verse]
+'nvme sed initialize' [ --read-only, -r ]  <device>
+
+DESCRIPTION
+-----------
+Initialize the NVMe device given to allow SED Opal locking.
+
+OPTIONS
+-------
+-r::
+--read-only::
+       Set locking range to read-only.
+
+EXAMPLES
+--------
+nvme sed initialize /dev/nvme5n1
+
+
+NVME
+----
+Part of nvme-cli
diff --git a/Documentation/nvme-sed-lock.txt b/Documentation/nvme-sed-lock.txt
new file mode 100644 (file)
index 0000000..02699af
--- /dev/null
@@ -0,0 +1,34 @@
+nvme-sed-lock(1)
+================
+
+NAME
+----
+nvme-sed-lock - Lock a SED Opal Device
+
+SYNOPSIS
+--------
+[verse]
+'nvme sed lock' [--read-only | -r] [--ask-key | -k]  <device>
+
+DESCRIPTION
+-----------
+Lock the given NVMe device.
+
+OPTIONS
+-------
+-r::
+--read-only::
+       Set locking range to read-only.
+
+-k::
+--ask-key::
+       Prompt for SED authentication key.
+
+
+EXAMPLES
+--------
+nvme sed lock /dev/nvme5n1
+
+NVME
+----
+Part of nvme-cli
diff --git a/Documentation/nvme-sed-password.txt b/Documentation/nvme-sed-password.txt
new file mode 100644 (file)
index 0000000..722ff1b
--- /dev/null
@@ -0,0 +1,29 @@
+nvme-sed-password(1)
+===================
+
+NAME
+----
+nvme-sed-password - Change the locking password of a SED device
+
+SYNOPSIS
+--------
+[verse]
+'nvme sed password' <device>
+
+DESCRIPTION
+-----------
+Change the locking password of a SED device.
+
+OPTIONS
+-------
+
+EXAMPLES
+--------
+nvme sed password /dev/nvme5n1
+Password:
+New Password:
+Re-enter New Password:
+
+NVME
+----
+Part of nvme-cli
diff --git a/Documentation/nvme-sed-revert.txt b/Documentation/nvme-sed-revert.txt
new file mode 100644 (file)
index 0000000..7ea019b
--- /dev/null
@@ -0,0 +1,35 @@
+nvme-sed-revert(1)
+==================
+
+NAME
+----
+nvme-sed-revert - Revert a SED Opal Device from locking
+
+SYNOPSIS
+--------
+[verse]
+'nvme sed revert' [ --destructive, -e ] [ --psid, -p ] <device>
+
+DESCRIPTION
+-----------
+Revert the NVMe device given from its locking state.
+
+OPTIONS
+-------
+-e::
+--destructive::
+       Revert drive destructively (data erased).
+
+-p::
+--psid::
+       Destructively revert drive using its PSID.
+
+
+EXAMPLES
+--------
+nvme sed revert /dev/nvme5n1
+
+
+NVME
+----
+Part of nvme-cli
diff --git a/Documentation/nvme-sed-unlock.txt b/Documentation/nvme-sed-unlock.txt
new file mode 100644 (file)
index 0000000..aaa63d1
--- /dev/null
@@ -0,0 +1,34 @@
+nvme-sed-unlock(1)
+==================
+
+NAME
+----
+nvme-sed-unlock - Unlock a SED Opal Device
+
+SYNOPSIS
+--------
+[verse]
+'nvme sed unlock' [--read-only | -r] [--ask-key | -k]  <device>
+
+DESCRIPTION
+-----------
+Unlock the given NVMe device.
+
+OPTIONS
+-------
+-r::
+--read-only::
+       Set locking range to read-only.
+
+-k::
+--ask-key::
+       Prompt for SED authentication key.
+
+
+EXAMPLES
+--------
+nvme sed unlock /dev/nvme5n1
+
+NVME
+----
+Part of nvme-cli