vnconfig

Use vnconfig to access virtual devices as harddrives.

List active devices
vnconfig -l
Create a 4GB virtual drive
dd if=/dev/zero bs=1024k count=4096 of=hdd.img

Create as a virtual device:

vnconfig vnd0 hdd.img
Release a device
vnconfig -u vnd0