VirtualBox

Changeset 100019 in vbox for trunk/doc/manual


Ignore:
Timestamp:
May 30, 2023 8:24:05 PM (21 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157691
Message:

doc/manual: Fix lost information in manpage for VBoxManage convertfromraw, in the "stdin" case. Also add an example for this case.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/man_VBoxManage-convertfromraw.xml

    r99513 r100019  
    7070      <command>VBoxManage convertfromraw stdin</command>
    7171      <arg choice="req"><replaceable>outputfile</replaceable></arg>
     72      <arg choice="req"><replaceable>bytes</replaceable></arg>
    7273      <arg>--format=<group choice="plain">
    7374          <arg choice="plain">VDI</arg>
     
    187188          <term><replaceable>outputfile</replaceable></term>
    188189          <listitem><para>
    189               Specifies the name of the file in which to write the VDI
     190              Specifies the name of the file in which to write the disk image
    190191              output.
     192            </para></listitem>
     193        </varlistentry>
     194        <varlistentry>
     195          <term><replaceable>bytes</replaceable></term>
     196          <listitem><para>
     197              Specifies the capacity of the targe image name. Needs to be
     198              given explicitly, because generally pipes do not support
     199              querying the overall size of the data stream.
    191200            </para></listitem>
    192201        </varlistentry>
     
    259268    </para>
    260269<screen>$ VBoxManage convertfromraw disk01.raw disk02.vmdk --format VMDK</screen>
     270    <para>
     271      The following command reads from disk <filename>/dev/sda</filename>
     272      using a pipe and therefore needs the exact disk size in bytes as an
     273      additional parameter, which is assumed to be <literal>10737418240</literal>.
     274      The output file is a VDI disk image called <filename>disk.vdi</filename>.
     275    </para>
     276<screen>$ dd if=/dev/sda bs=512 | VBoxManage convertfromraw stdin disk.vdi 10737418240</screen>
    261277  </refsect1>
    262278</refentry>
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette