To avoid erasing a device with a mounted filesystem, try to get exclusive access to the blkdev object corresponding to the device. Signed-off-by: Sel
↧