mkvopt command
Purpose
Create a virtual optical media disk in the Virtual Media Repository
Description
The mkvopt command creates a new virtual optical disk in the Virtual Media Repository. If the -size flag is specified, the new optical disk is initialized to all zeros of the given Size. If the -dev flag is specified, the given device, OptDevice, must be an optical device with media loaded. The contents of the loaded media within the device, will be used to create the optical media. If the -file flag is specified, SourceFile is copied into the repository. By default, the virtual optical disk is created as DVD-RAM media. If the -ro flag is specified, the disk will be create as DVD-ROM media.
When
specifying Size the following conventions must be used:
Size | Minimum file size |
---|---|
n M/m | n MB |
n G/g | n GB |
Flags
Flag name | Description |
---|---|
-dev OptDevice | Specifies a physical optical device with media loaded. |
-file SourceFile | Specifies the name of an existing file to by copied into the repository. |
-name FileName | Specifies the name of the new virtual optical media file. |
-ro | Create the new disk as read-only (DVD-ROM). |
-size Size | Specifies how big to make the new virtual optical media. |
Examples
- To create a read-only virtual optical disk with the name pressData
from existing optical media in device cd0, type the following command:
mkvopt -name pressData -dev cd0 -ro
- To create a new virtual optical disk with the name blankDVD with
1 Gigabyte storage capacity, type the following command:
mkvopt -name blankDVD -size 1g