Exemple #1
0
def lookup_uuid(uuid):
    cmd = ['blkid', '-U', uuid]
    return get_command_output(cmd).strip()
Exemple #2
0
def blkid(device):
    return get_command_output(['blkid', device])