python script to dicard / trim entire block device