validate block devices in parted mod