Add script to remove all partitions

This commit is contained in:
Nico Schottelius 2018-02-18 17:10:37 +01:00
parent de35836d2a
commit 353a9e16d8

10
remove-all-partitions Normal file
View file

@ -0,0 +1,10 @@
#!/bin/sh
if [ $# -ne 1 ]; then
echo $0 disk-to-be-deleted
exit 1
fi
disk=$1
sgdisk -Z "$disk"