[vbox-dev] [PATCH] FreeBSD: Support files in VBoxManage internalcommands createrawvmdk

Bernhard Froehlich decke at bluelife.at
Tue Dec 13 11:30:02 GMT 2011


Hi vbox developers!

Another patch to add support for files to VBoxManage createrawvmdk. 
Currently
it only supports character devices so it failes like this:

VBoxManage internalcommands createrawvmdk -filename test.vmdk -rawdisk 
/vbox/HardDisks/test.img
VBoxManage: error: File '/vbox/HardDisks/test.img' is no character 
device
VBoxManage: error: The raw disk vmdk file was not created

The following patch by Pawel Jakub Dawidek adds support for files on 
FreeBSD.
It should be easy to do the same for Linux and Solaris but this patch 
only
targets FreeBSD hosts.

http://people.freebsd.org/~pjd/patches/patch-src-VBox-Frontends-VBoxManage-VBoxInternalManage.cpp

Author: Pawel Jakub Dawidek <pjd at FreeBSD.org>
License is MIT as usual.

-- 
Bernhard Fröhlich
http://www.bluelife.at/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-src-VBox-Frontends-VBoxManage-VBoxInternalManage.cpp
Type: application/octet-stream
Size: 596 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20111213/89155ce8/attachment.obj>


More information about the vbox-dev mailing list