VirtualBox

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

Last change on this file since 85124 was 82969, checked in by vboxsync, 5 years ago

Copyright year updates - manual ones.

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