From 02add5825cb88d637c35001fe36ed58e4ea3475d Mon Sep 17 00:00:00 2001 From: wangzhengyong Date: Sat, 25 Mar 2017 15:09:01 +0800 Subject: [PATCH] doc: add some undocumented options to rbd-nbd Signed-off-by: wangzhengyong@cmss.chinamobile.com --- doc/man/8/rbd-nbd.rst | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/man/8/rbd-nbd.rst b/doc/man/8/rbd-nbd.rst index 635b3433ed742..659a3a6cbde11 100644 --- a/doc/man/8/rbd-nbd.rst +++ b/doc/man/8/rbd-nbd.rst @@ -9,7 +9,7 @@ Synopsis ======== -| **rbd-nbd** [-c conf] [--nbds_max *limit*] [--read-only] [--device *nbd device*] map *image-spec* | *snap-spec* +| **rbd-nbd** [-c conf] [--read-only] [--device *nbd device*] [--nbds_max *limit*] [--max_part *limit*] [--exclusive] map *image-spec* | *snap-spec* | **rbd-nbd** unmap *nbd device* | **rbd-nbd** list-mapped @@ -28,11 +28,23 @@ Options Use *ceph.conf* configuration file instead of the default ``/etc/ceph/ceph.conf`` to determine monitor addresses during startup. +.. option:: --read-only + + Map readonly. + .. option:: --nbds_max *limit* Override the parameter of NBD kernel module when modprobe, used to limit the count of nbd device. +.. option:: --max_part *limit* + + Override for module param nbds_max. + +.. option:: --exclusive + + Forbid other clients write. + Image and snap specs ==================== -- 2.39.5