Skip to content

Commit 692033f

Browse files
authored
Merge pull request #578 from rgirasegit/patch-1
Add an example for attach-ns
2 parents cc3aedb + 07942d0 commit 692033f

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

Documentation/nvme-attach-ns.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@ OPTIONS
3030

3131
EXAMPLES
3232
--------
33-
No examples yet.
33+
Attach namspace to the controller:
34+
35+
# nvme attach-ns /dev/nvme1 -n 0x2 -c 0x21
36+
37+
Note: Namespace identifier and controller identifier(s) should be in hexadecimal.
38+
3439

3540
NVME
3641
----

updated.patch1

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
diff --git a/Documentation/nvme-attach-ns.txt b/Documentation/nvme-attach-ns.txt
2+
index 8467335..79bb525 100644
3+
--- a/Documentation/nvme-attach-ns.txt
4+
+++ b/Documentation/nvme-attach-ns.txt
5+
@@ -34,9 +34,6 @@ EXAMPLES
6+
7+
# nvme attach-ns /dev/nvme1 -n 0x2 -c 0x21
8+
9+
- Note: Namespace identifier and controller identifier(s) should be in hexadecimal.
10+
-
11+
-
12+
NVME
13+
----
14+
Part of the nvme-user suite

0 commit comments

Comments
 (0)