def make_dev_path(dev, partition=None, base='/dev'):
    path = os.path.join(base, dev)
    if partition:
        path += str(partition)
    return path
Return a path to a particular device.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/utils.py/make_dev_path