Only set PARTITION=1 if target is a block device.