hard drive – Does VBoxManage convertfromraw –format VDI process unallocated space?

convertfromraw can be used to produce a dynamically sized VDI file. Does it process unallocated disk space?

For example, say /dev/sda points to a 1 TB hard drive with partitions on the first 10 GB and the rest unallocated. Running the following command,

VBoxManage convertfromraw /dev/sda MyDisk.vdi --format VDI
  • is the entire 1 TB disk processed?
  • is the resulting file ~ 10 GB or ~ 1 TB?