def unmount_partition(device):
 p = partition(job=None, device=device)
 p.unmount(record=False)

def unmount_partition ( device ) : p = partition ( job = None , device = device ) p . unmount ( record = False )
unmount a mounted partition .