VirtualBox

Changeset 94202 in vbox for trunk


Ignore:
Timestamp:
Mar 12, 2022 7:35:12 PM (3 years ago)
Author:
vboxsync
Message:

doc/manual,FE/VBoxManage: Convert checkmediumpwd command to refentry documentation, ​bugref:9186

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/Config.kmk

    r94201 r94202  
    7171        man_VBoxManage-clonemedium.xml \
    7272        man_VBoxManage-mediumproperty.xml \
    73         man_VBoxManage-encryptmedium.xml
     73        man_VBoxManage-encryptmedium.xml \
     74        man_VBoxManage-checkmediumpwd.xml
    7475
    7576## List of user manual XML files.
  • trunk/doc/manual/en_US/man_VBoxManage-checkmediumpwd.xml

    r87075 r94202  
    2020<refentry id="vboxmanage-checkmediumpwd" lang="en">
    2121  <refentryinfo>
    22     <pubdate>August 2019</pubdate>
     22    <pubdate>$Date$</pubdate>
    2323    <title>VBoxManage checkmediumpwd</title>
    2424  </refentryinfo>
     
    3232    <refname>VBoxManage-checkmediumpwd</refname>
    3333    <refpurpose>check encryption password on a DEK-encrypted medium or a disk image</refpurpose>
    34     <refclass>Oracle VM VirtualBox</refclass>
     34    <refclass>&product-name;</refclass>
    3535  </refnamediv>
    3636
     
    6969        <term><replaceable>password-file</replaceable></term>
    7070        <listitem><para>
    71             Specifies the password identifier to check. The password
    72             identifier can be the absolute path name of a password file
     71            Specifies the password to check. The password
     72            can be the absolute path name of a password file
    7373            on the host OS or the dash character (<literal>-</literal>)
    7474            to prompt you for the password on the command line.
     
    8484      The following example checks the encryption password for the
    8585      <filename>ol7u4-1.vdi</filename> disk image. The password
    86       identifier is a file called <filename>pwfile</filename>.
     86      is contained in a file called <filename>pwfile</filename>.
    8787    </para>
    8888    <para>
  • trunk/doc/manual/en_US/user_VBoxManage.xml

    r94201 r94202  
    10951095  <xi:include href="user_man_VBoxManage-encryptmedium.xml"  xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
    10961096
    1097   <sect1 id="vboxmanage-checkmediumpwd">
    1098 
    1099     <title>VBoxManage checkmediumpwd</title>
    1100 
    1101     <para>
    1102       This command is used to check the current encryption password on a
    1103       DEK encrypted medium or image. See
    1104       <xref linkend="diskencryption-encryption" />.
    1105     </para>
    1106 
    1107     <para>
    1108       The syntax is as follows:
    1109     </para>
    1110 
    1111 <screen>VBoxManage checkmediumpwd &lt;uuid|filename&gt;
    1112                                       &lt;pwd file|-&gt;</screen>
    1113 
    1114     <itemizedlist>
    1115 
    1116       <listitem>
    1117         <para>
    1118           Use <computeroutput>&lt;uuid|filename&gt;</computeroutput> to
    1119           supply the UUID or absolute path of the medium or image to be
    1120           checked.
    1121         </para>
    1122       </listitem>
    1123 
    1124       <listitem>
    1125         <para>
    1126           Use <computeroutput>&lt;pwd file|-&gt;</computeroutput> to
    1127           supply the password identifier to be checked. Either specify
    1128           the absolute pathname of a password file on the host operating
    1129           system, or <computeroutput>-</computeroutput> to prompt you
    1130           for the password on the command line.
    1131         </para>
    1132       </listitem>
    1133 
    1134     </itemizedlist>
    1135 
    1136   </sect1>
     1097  <xi:include href="user_man_VBoxManage-checkmediumpwd.xml" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />
    11371098
    11381099  <sect1 id="vboxmanage-convertfromraw">
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp

    r94201 r94202  
    210210    { "clonevdi",           USAGE_S_NEWCMD,  HELP_CMD_CLONEMEDIUM, handleCloneMedium,          0 }, /* backward compatibility */
    211211    { "encryptmedium",      USAGE_S_NEWCMD,HELP_CMD_ENCRYPTMEDIUM, handleEncryptMedium,        0 },
    212     { "checkmediumpwd",     USAGE_MEDIUMENCCHKPWD,  VBMG_CMD_TODO, handleCheckMediumPassword,  0 },
     212    { "checkmediumpwd",     USAGE_S_NEWCMD,HELP_CMD_CHECKMEDIUMPWD, handleCheckMediumPassword,  0 },
    213213    { "createvm",           USAGE_S_NEWCMD,     HELP_CMD_CREATEVM, handleCreateVM,             0 },
    214214    { "modifyvm",           USAGE_S_NEWCMD,     HELP_CMD_MODIFYVM, handleModifyVM,             0 },
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.h

    r94201 r94202  
    132132    USAGE_I_REPAIRHD,
    133133    USAGE_NATNETWORK,
    134     USAGE_MEDIUMENCCHKPWD,
    135134    USAGE_USBDEVSOURCE,
    136135    /* Insert new entries before this line, but only if it is not an option
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageDisk.cpp

    r94201 r94202  
    21162116
    21172117    if (a->argc != 2)
    2118         return errorSyntax(USAGE_MEDIUMENCCHKPWD, Disk::tr("Invalid number of arguments: %d"), a->argc);
     2118        return errorSyntax(Disk::tr("Invalid number of arguments: %d"), a->argc);
    21192119
    21202120    pszFilenameOrUuid = a->argv[0];
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r94201 r94202  
    639639                     "\n", SEP);
    640640
    641     if (enmCommand == USAGE_MEDIUMENCCHKPWD || enmCommand == USAGE_S_ALL)
    642         RTStrmPrintf(pStrm,
    643                            "%s checkmediumpwd %s  <uuid|filename>\n"
    644                      "                            <pwd file>|-\n"
    645                      "\n", SEP);
    646 
    647641    if (enmCommand == USAGE_CONVERTFROMRAW || enmCommand == USAGE_S_ALL)
    648642        RTStrmPrintf(pStrm,
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