From: wangzhengyong Date: Sat, 25 Mar 2017 07:09:01 +0000 (+0800) Subject: doc: add some undocumented options to rbd-nbd X-Git-Tag: v12.0.2~307^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F14134%2Fhead;p=ceph.git doc: add some undocumented options to rbd-nbd Signed-off-by: wangzhengyong@cmss.chinamobile.com --- diff --git a/doc/man/8/rbd-nbd.rst b/doc/man/8/rbd-nbd.rst index 635b3433ed74..659a3a6cbde1 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 ====================