提交 c79ef73c 编写于 作者: P Peter Krempa

docs: snapshot: Encourage people ot use disk 'target' to refer to disks

Change the example and add a recommendation to use disk target rather
than path.
Signed-off-by: NPeter Krempa <pkrempa@redhat.com>
Reviewed-by: NMartin Kletzander <mkletzan@redhat.com>
上级 05ac854c
...@@ -140,8 +140,8 @@ ...@@ -140,8 +140,8 @@
<dd>This sub-element describes the snapshot properties of a <dd>This sub-element describes the snapshot properties of a
specific disk. The attribute <code>name</code> is specific disk. The attribute <code>name</code> is
mandatory, and must match either the <code>&lt;target mandatory, and must match either the <code>&lt;target
dev='name'/&gt;</code> or an unambiguous <code>&lt;source dev='name'/&gt;</code> (recommended) or an unambiguous
file='name'/&gt;</code> of one of <code>&lt;source file='name'/&gt;</code> of one of
the <a href="formatdomain.html#elementsDisks">disk the <a href="formatdomain.html#elementsDisks">disk
devices</a> specified for the domain at the time of the devices</a> specified for the domain at the time of the
snapshot. The attribute <code>snapshot</code> is snapshot. The attribute <code>snapshot</code> is
...@@ -255,7 +255,7 @@ ...@@ -255,7 +255,7 @@
&lt;domainsnapshot&gt; &lt;domainsnapshot&gt;
&lt;description&gt;Snapshot of OS install and updates&lt;/description&gt; &lt;description&gt;Snapshot of OS install and updates&lt;/description&gt;
&lt;disks&gt; &lt;disks&gt;
&lt;disk name='/path/to/old'&gt; &lt;disk name='vda'&gt;
&lt;source file='/path/to/new'/&gt; &lt;source file='/path/to/new'/&gt;
&lt;/disk&gt; &lt;/disk&gt;
&lt;disk name='vdb' snapshot='no'/&gt; &lt;disk name='vdb' snapshot='no'/&gt;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册