Skip to content

Commit 9d24387

Browse files
gjoyce-ibmigaw
authored andcommitted
sed: add SED man pages
man pages for SED plugin commands Signed-off-by: Greg Joyce <[email protected]>
1 parent 71fa5d9 commit 9d24387

File tree

8 files changed

+227
-0
lines changed

8 files changed

+227
-0
lines changed

Documentation/cmd-plugins.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,3 +240,21 @@ linknvme:nvme-solidigm-vs-drive-info[1]::
240240

241241
linknvme:nvme-solidigm-workload-tracker[1]::
242242
Real Time capture Workload Tracker samples
243+
244+
linknvme:nvme-sed-discover[1]::
245+
Discover SED Opal Locking Features
246+
247+
linknvme:nvme-sed-initialize[1]::
248+
Initialize a SED Opal Device for locking
249+
250+
linknvme:nvme-sed-revert[1]::
251+
Revert a SED Opal Device from locking
252+
253+
linknvme:nvme-sed-lock[1]::
254+
Lock a SED Opal Device
255+
256+
linknvme:nvme-sed-unlock[1]::
257+
Unlock a SED Opal Device
258+
259+
linknvme:nvme-sed-password[1]::
260+
Change the SED Opal Device password

Documentation/meson.build

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,12 @@ adoc_sources = [
222222
'nvme-zns-zone-append',
223223
'nvme-zns-zone-mgmt-recv',
224224
'nvme-zns-zone-mgmt-send',
225+
'nvme-sed-discover',
226+
'nvme-sed-initialize',
227+
'nvme-sed-lock',
228+
'nvme-sed-password',
229+
'nvme-sed-revert',
230+
'nvme-sed-unlock',
225231
]
226232

227233
adoc_includes = [
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
nvme-sed-discover(1)
2+
====================
3+
4+
NAME
5+
----
6+
nvme-sed-discover - Discover SED Opal Locking Features
7+
8+
SYNOPSIS
9+
--------
10+
[verse]
11+
'nvme sed discover' [--verbose | -v] [--udev | -u] <device>
12+
13+
DESCRIPTION
14+
-----------
15+
Query the NVMe device given to determine its SED Opal capabilities.
16+
17+
OPTIONS
18+
-------
19+
-v::
20+
--verbose::
21+
Print extended feature discovery information.
22+
23+
-u::
24+
--udev::
25+
Print locking information in form suitable for udev rules.
26+
27+
EXAMPLES
28+
--------
29+
nvme sed discover /dev/nvme5n1
30+
Locking Features:
31+
Locking Supported : yes
32+
Locking Feature Enabled : yes
33+
Locked : no
34+
Media Encryption : yes
35+
MBR Enabled : no
36+
MBR Done : no
37+
38+
39+
NVME
40+
----
41+
Part of nvme-cli
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
nvme-sed-initialize(1)
2+
======================
3+
4+
NAME
5+
----
6+
nvme-sed-initialize - Initialize a SED Opal Device for locking
7+
8+
SYNOPSIS
9+
--------
10+
[verse]
11+
'nvme sed initialize' [ --read-only, -r ] <device>
12+
13+
DESCRIPTION
14+
-----------
15+
Initialize the NVMe device given to allow SED Opal locking.
16+
17+
OPTIONS
18+
-------
19+
-r::
20+
--read-only::
21+
Set locking range to read-only.
22+
23+
EXAMPLES
24+
--------
25+
nvme sed initialize /dev/nvme5n1
26+
27+
28+
NVME
29+
----
30+
Part of nvme-cli

Documentation/nvme-sed-lock.txt

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
nvme-sed-lock(1)
2+
================
3+
4+
NAME
5+
----
6+
nvme-sed-lock - Lock a SED Opal Device
7+
8+
SYNOPSIS
9+
--------
10+
[verse]
11+
'nvme sed lock' [--read-only | -r] [--ask-key | -k] <device>
12+
13+
DESCRIPTION
14+
-----------
15+
Lock the given NVMe device.
16+
17+
OPTIONS
18+
-------
19+
-r::
20+
--read-only::
21+
Set locking range to read-only.
22+
23+
-k::
24+
--ask-key::
25+
Prompt for SED authentication key.
26+
27+
28+
EXAMPLES
29+
--------
30+
nvme sed lock /dev/nvme5n1
31+
32+
NVME
33+
----
34+
Part of nvme-cli
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
nvme-sed-password(1)
2+
===================
3+
4+
NAME
5+
----
6+
nvme-sed-password - Change the locking password of a SED device
7+
8+
SYNOPSIS
9+
--------
10+
[verse]
11+
'nvme sed password' <device>
12+
13+
DESCRIPTION
14+
-----------
15+
Change the locking password of a SED device.
16+
17+
OPTIONS
18+
-------
19+
20+
EXAMPLES
21+
--------
22+
nvme sed password /dev/nvme5n1
23+
Password:
24+
New Password:
25+
Re-enter New Password:
26+
27+
NVME
28+
----
29+
Part of nvme-cli

Documentation/nvme-sed-revert.txt

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
nvme-sed-revert(1)
2+
==================
3+
4+
NAME
5+
----
6+
nvme-sed-revert - Revert a SED Opal Device from locking
7+
8+
SYNOPSIS
9+
--------
10+
[verse]
11+
'nvme sed revert' [ --destructive, -e ] [ --psid, -p ] <device>
12+
13+
DESCRIPTION
14+
-----------
15+
Revert the NVMe device given from its locking state.
16+
17+
OPTIONS
18+
-------
19+
-e::
20+
--destructive::
21+
Revert drive destructively (data erased).
22+
23+
-p::
24+
--psid::
25+
Destructively revert drive using its PSID.
26+
27+
28+
EXAMPLES
29+
--------
30+
nvme sed revert /dev/nvme5n1
31+
32+
33+
NVME
34+
----
35+
Part of nvme-cli

Documentation/nvme-sed-unlock.txt

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
nvme-sed-unlock(1)
2+
==================
3+
4+
NAME
5+
----
6+
nvme-sed-unlock - Unlock a SED Opal Device
7+
8+
SYNOPSIS
9+
--------
10+
[verse]
11+
'nvme sed unlock' [--read-only | -r] [--ask-key | -k] <device>
12+
13+
DESCRIPTION
14+
-----------
15+
Unlock the given NVMe device.
16+
17+
OPTIONS
18+
-------
19+
-r::
20+
--read-only::
21+
Set locking range to read-only.
22+
23+
-k::
24+
--ask-key::
25+
Prompt for SED authentication key.
26+
27+
28+
EXAMPLES
29+
--------
30+
nvme sed unlock /dev/nvme5n1
31+
32+
NVME
33+
----
34+
Part of nvme-cli

0 commit comments

Comments
 (0)