make ceph-disk device name and partition code more robust