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