From b0deee4961562370c14637f30a23e9f83936bda5 Mon Sep 17 00:00:00 2001 From: Yunchuan Wen Date: Wed, 2 Dec 2015 11:27:32 +0800 Subject: [PATCH] Update man page for new rbd nbd command Signed-off-by: Yunchuan Wen --- doc/man/8/rbd.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/man/8/rbd.rst b/doc/man/8/rbd.rst index cd1418058517..5db0d754b13d 100644 --- a/doc/man/8/rbd.rst +++ b/doc/man/8/rbd.rst @@ -321,6 +321,15 @@ Commands :command:`showmapped` Show the rbd images that are mapped via the rbd kernel module. +:command:`nbd map` [--device *device-path*] [--read-only] *image-spec* | *snap-spec* + Maps the specified image to a block device via the rbd-nbd tool. + +:command:`nbd unmap` *device-path* + Unmaps the block device that was mapped via the rbd-nbd tool. + +:command:`nbd list` + Show the list of used nbd devices via the rbd-nbd tool. + :command:`status` *image-spec* Show the status of the image, including which clients have it open. -- 2.47.3