From 480b8260cc619d38c46f49dcd22f60277a08d9a2 Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Mon, 7 Nov 2011 09:27:55 -0800 Subject: [PATCH] rbd: add showmapped to clitests and rst man page Signed-off-by: Josh Durgin --- doc/man/8/rbd.rst | 2 ++ src/test/cli/rbd/help.t | 2 ++ src/test/cli/rbd/invalid-snap-usage.t | 18 ++++++++++++++++++ 3 files changed, 22 insertions(+) diff --git a/doc/man/8/rbd.rst b/doc/man/8/rbd.rst index b2d62413cdb98..12a124401edc5 100644 --- a/doc/man/8/rbd.rst +++ b/doc/man/8/rbd.rst @@ -114,6 +114,8 @@ Commands :command:`unmap` [*device-path*] Unmaps the block device that was mapped via the rbd kernel module. +:command:`showmapped` + Show the rbd images that are mapped via the rbd kernel module. Image name ========== diff --git a/src/test/cli/rbd/help.t b/src/test/cli/rbd/help.t index 2e21bef1fd37f..675da6b324db0 100644 --- a/src/test/cli/rbd/help.t +++ b/src/test/cli/rbd/help.t @@ -21,6 +21,8 @@ using the kernel unmap [device] unmap a rbd device that was mapped by the kernel + showmapped show the rbd images mapped + by the kernel Other input options: -p, --pool source pool name diff --git a/src/test/cli/rbd/invalid-snap-usage.t b/src/test/cli/rbd/invalid-snap-usage.t index d5e062053f2eb..386a23a232c02 100644 --- a/src/test/cli/rbd/invalid-snap-usage.t +++ b/src/test/cli/rbd/invalid-snap-usage.t @@ -22,6 +22,8 @@ using the kernel unmap [device] unmap a rbd device that was mapped by the kernel + showmapped show the rbd images mapped + by the kernel Other input options: -p, --pool source pool name @@ -62,6 +64,8 @@ using the kernel unmap [device] unmap a rbd device that was mapped by the kernel + showmapped show the rbd images mapped + by the kernel Other input options: -p, --pool source pool name @@ -102,6 +106,8 @@ using the kernel unmap [device] unmap a rbd device that was mapped by the kernel + showmapped show the rbd images mapped + by the kernel Other input options: -p, --pool source pool name @@ -142,6 +148,8 @@ using the kernel unmap [device] unmap a rbd device that was mapped by the kernel + showmapped show the rbd images mapped + by the kernel Other input options: -p, --pool source pool name @@ -182,6 +190,8 @@ using the kernel unmap [device] unmap a rbd device that was mapped by the kernel + showmapped show the rbd images mapped + by the kernel Other input options: -p, --pool source pool name @@ -222,6 +232,8 @@ using the kernel unmap [device] unmap a rbd device that was mapped by the kernel + showmapped show the rbd images mapped + by the kernel Other input options: -p, --pool source pool name @@ -262,6 +274,8 @@ using the kernel unmap [device] unmap a rbd device that was mapped by the kernel + showmapped show the rbd images mapped + by the kernel Other input options: -p, --pool source pool name @@ -302,6 +316,8 @@ using the kernel unmap [device] unmap a rbd device that was mapped by the kernel + showmapped show the rbd images mapped + by the kernel Other input options: -p, --pool source pool name @@ -342,6 +358,8 @@ using the kernel unmap [device] unmap a rbd device that was mapped by the kernel + showmapped show the rbd images mapped + by the kernel Other input options: -p, --pool source pool name -- 2.39.5