VirtualBox

source: vbox/trunk/doc/manual/en_US/man_VBoxManage-closemedium.xml@ 96300

Last change on this file since 96300 was 96300, checked in by vboxsync, 2 years ago

doc: comment fixing

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 manpage, user manual, usage: VBoxManage closemedium
4-->
5<!--
6 Copyright (C) 2006-2020 Oracle Corporation
7
8 This file is part of VirtualBox Open Source Edition (OSE), as
9 available from http://www.virtualbox.org. This file is free software;
10 you can redistribute it and/or modify it under the terms of the GNU
11 General Public License (GPL) as published by the Free Software
12 Foundation, in version 2 as it comes in the "COPYING" file of the
13 VirtualBox OSE distribution. VirtualBox OSE is distributed in the
14 hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
15-->
16<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
17 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"[
18<!ENTITY % all.entities SYSTEM "all-entities.ent">
19%all.entities;
20]>
21<refentry id="vboxmanage-closemedium" lang="en">
22 <refentryinfo>
23 <pubdate>$Date: 2022-08-18 17:27:14 +0000 (Thu, 18 Aug 2022) $</pubdate>
24 <title>VBoxManage closemedium</title>
25 </refentryinfo>
26
27 <refmeta>
28 <refentrytitle>VBoxManage-closemedium</refentrytitle>
29 <manvolnum>1</manvolnum>
30 </refmeta>
31
32 <refnamediv>
33 <refname>VBoxManage-closemedium</refname>
34 <refpurpose>remove a hard disk, DVD, or floppy image from the media registry</refpurpose>
35 <refclass>&product-name;</refclass>
36 </refnamediv>
37
38 <refsynopsisdiv>
39 <cmdsynopsis id="synopsis-vboxmanage-closemedium">
40<!-- The 'id' is mandatory and must start with 'synopsis-'. -->
41 <command>VBoxManage closemedium</command>
42 <group>
43 <arg choice="plain">disk</arg>
44 <arg choice="plain">dvd</arg>
45 <arg choice="plain">floppy</arg>
46 </group>
47 <group choice="req">
48 <arg choice="plain"><replaceable>uuid</replaceable></arg>
49 <arg choice="plain"><replaceable>filename</replaceable></arg>
50 </group>
51 <arg>--delete</arg>
52 </cmdsynopsis>
53 </refsynopsisdiv>
54
55 <refsect1>
56 <title>Description</title>
57 <para>
58 The <command>VBoxManage closemedium</command> command removes a
59 hard disk, DVD, or floppy image from the list of known media used
60 by &product-name;. The image is then unavailable for selection in
61 the Virtual Media Manager.
62 </para>
63 <para>
64 To use this command, the image must not be attached to any VMs.
65 </para>
66 <para>
67 Optionally, you can request that the image be deleted.
68 </para>
69 <variablelist>
70 <varlistentry>
71 <term>disk|dvd|floppy</term>
72 <listitem><para>
73 Specifies the type of medium. Valid values are
74 <literal>disk</literal> (hard drive),
75 <literal>dvd</literal>, or <literal>floppy</literal>.
76 </para></listitem>
77 </varlistentry>
78 <varlistentry>
79 <term><replaceable>uuid</replaceable>|<replaceable>filename</replaceable></term>
80 <listitem><para>
81 Specifies the Universally Unique Identifier (UUID) or
82 absolute path name of the medium or image.
83 </para></listitem>
84 </varlistentry>
85 <varlistentry>
86 <term><option>--delete</option></term>
87 <listitem><para>
88 Deletes the image file.
89 </para></listitem>
90 </varlistentry>
91 </variablelist>
92 </refsect1>
93
94 <refsect1>
95 <title>Examples</title>
96 <remark role="help-scope" condition="GLOBAL" />
97 <para>
98 The following command removes the disk image file called
99 <filename>disk01.vdi</filename> from the registry.
100 </para>
101<screen>$ VBoxManage closemedium disk01.vdi</screen>
102 <para>
103 The following command removes the disk image file called
104 <filename>disk01.vdi</filename> from the registry and deletes the
105 image file.
106 </para>
107<screen>$ VBoxManage closemedium disk01.vdi --delete</screen>
108 </refsect1>
109</refentry>
Note: See TracBrowser for help on using the repository browser.

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