mirror of
https://github.com/ceph/ceph
synced 2024-12-20 18:33:44 +00:00
afbf90d5b5
Change du to take <image-spec> | <snap-spec> as an argument instead of going through --image option. The new synopsis is (du | disk-usage) [<image-spec> | <snap-spec>] This is to make it look more like the rest of the commands: the only other command that takes pool as an argument is ls and it can't really serve as a prototype for du, because the latter has to work on images and snapshots as well. Examples: # stats for pool rbd $ rbd du $ rbd -p rbd du # stats for pool foo $ rbd -p foo du # stats for snapshot mysnap of image baz in pool rbd $ rbd du baz@mysnap # stats for image bar in pool foo $ rbd du foo/bar Signed-off-by: Ilya Dryomov <idryomov@gmail.com> |
||
---|---|---|
.. | ||
_templates | ||
_themes/ceph | ||
api | ||
cephfs | ||
changelog | ||
dev | ||
images | ||
install | ||
man/8 | ||
mon | ||
rados | ||
radosgw | ||
rbd | ||
scripts | ||
start | ||
.gitignore | ||
architecture.rst | ||
conf.py | ||
favicon.ico | ||
glossary.rst | ||
index.rst | ||
logo.png | ||
Makefile.am | ||
release-notes.rst | ||
releases.rst |