Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add some undocumented options to rbd-nbd #14134

Merged
merged 1 commit into from Mar 25, 2017
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+13 −1
Diff settings

Always

Just for now

@@ -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.

This comment has been minimized.

Copy link
@dillaman

dillaman Mar 25, 2017

Contributor

Nit: "read-only"


.. 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.

This comment has been minimized.

Copy link
@dillaman

dillaman Mar 25, 2017

Contributor

Nit: "Forbid writes by other clients"

This comment has been minimized.

Copy link
@trociny

trociny Mar 25, 2017

Contributor

@dillaman Oh, sorry, I just merged it and did not notice your comments.

This comment has been minimized.

Copy link
@trociny

trociny Mar 25, 2017

Contributor

@dillaman May be then also fix this in --help output?


Image and snap specs
====================

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.