'Work with a machine partition
:param device: e.g. /dev/sda2, /dev/sdb1 etc...
:param mountpoint: Specify a directory to mount to. If not specified
autotest tmp directory will be used.
:param loop_size: Size of loopback device (in MB). Defaults to 0.
:return: A L{client.partition.partition} object'

def partition(self, device, loop_size=0, mountpoint=None):

    if (not mountpoint):
        mountpoint = self.tmpdir
    return partition_lib.partition(self, device, loop_size, mountpoint)
