Description: Creates a new partition on a disk (if possible) and checks for consistancy of the partioning between virtual calculation and actual client partitioning.
Parameter:
dev: The device (e.g. /dev/sda).
start: Start position (in MB) of the partition to create.
end: End position (in MB) of the partition to create.
type: type of the partition (CFDiskIO::PT_PRIMARY, CFDiskIO::PT_EXTENDED, CFDiskIO::PT_LOGICAL)