]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: add some undocumented options to rbd-nbd 14134/head
authorwangzhengyong <wangzhengyong@cmss.chinamobile.com>
Sat, 25 Mar 2017 07:09:01 +0000 (15:09 +0800)
committerwangzhengyong <wangzhengyong@cmss.chinamobile.com>
Sat, 25 Mar 2017 14:37:58 +0000 (22:37 +0800)
Signed-off-by: wangzhengyong@cmss.chinamobile.com
doc/man/8/rbd-nbd.rst

index 635b3433ed742c52f7fd5a4d9bbbc94d429a0ede..659a3a6cbde11988cba12b95bc14972494c2625d 100644 (file)
@@ -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
 ====================