def mklabel(device, label_type):
    if label_type not in set([
        'aix', 'amiga', 'bsd', 'dvh', 'gpt', 'loop', 'mac', 'msdos', 'pc98', 'sun'
    ]):
        raise CommandExecutionError(
            'Invalid label_type passed to partition.mklabel'
        )

    cmd = ('parted', '-m', '-s', device, 'mklabel', label_type)
    out = __salt__['cmd.run'](cmd, python_shell=False).splitlines()
    return out
``CreateBlockDeviceDataset.run`` rounds up the size if the
dataset/ETHPy150Open saltstack/salt/salt/modules/parted.py/mklabel--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/agents/test/test_blockdevice.py/CreateBlockDeviceDatasetImplementationTests.test_run_create_round_up