block: also handle /dev/mdX (softraid) and /dev/mapper/* (LVM2) devices