From: Sage Weil Date: Fri, 29 Mar 2013 04:48:51 +0000 (-0700) Subject: rbd: include 'diff' command in man page X-Git-Tag: v0.62~118^2~19 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=325a3372cb4801b9635479cadf5ea28fc473d3b2;p=ceph.git rbd: include 'diff' command in man page Signed-off-by: Sage Weil --- diff --git a/doc/man/8/rbd.rst b/doc/man/8/rbd.rst index 72b2db6304e4..5c6f030ffe32 100644 --- a/doc/man/8/rbd.rst +++ b/doc/man/8/rbd.rst @@ -180,6 +180,12 @@ Commands continuing. If there was an end snapshot we verify it does not already exist before applying the changes, and create the snapshot when we are done. +:command:`diff` [*image-name*] [--from-snap *snapname*] + Dump a list of byte extents in the image that have changed since the specified start + snapshot, or since the image was created. Each output line includes the starting offset + (in bytes), the length of the region (in bytes), and either 'zero' or 'data' to indicate + whether the region is known to be zeros or may contain other data. + :command:`cp` [*src-image*] [*dest-image*] Copies the content of a src-image into the newly created dest-image. dest-image will have the same size, order, and format as src-image.