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

nautilus: rbd-nbd: sscanf return 0 mean not-match. #29315

merged 1 commit into from Jul 31, 2019


Copy link

commented Jul 25, 2019

rbd-nbd: sscanf return 0 mean not-match.
When exec:  rbd-nbd map rbd/image --device /dev/image
The error message is:
rbd-nbd: failed to open device: /dev/image.

In fact, it should print:
rbd-nbd: invalid device path: /dev/image (expected /dev/nbd{num})

Meantime change help which make more understand.


Signed-off-by: Jianpeng Ma <>
(cherry picked from commit 5b5c21b)

@smithfarm smithfarm requested review from trociny and dillaman Jul 25, 2019

@smithfarm smithfarm added this to the nautilus milestone Jul 25, 2019

Copy link

left a comment



This comment has been minimized.

Copy link

commented Jul 30, 2019

@yuriw yuriw merged commit ff04418 into ceph:nautilus Jul 31, 2019

4 checks passed

Docs: build check OK - docs built
Signed-off-by all commits in this PR are signed
Unmodified Submodules submodules for project are unmodified
make check make check succeeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
6 participants
You can’t perform that action at this time.