part_del


Description:

[ Version ( since = "1.3.2" ) ]
public bool part_del (string device, int32 partnum) throws Error

delete a partition

This command deletes the partition numbered partnum on device.

Note that in the case of MBR partitioning, deleting an extended partition also deletes any logical partitions it contains.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error