ungleich-tools/remove-all-partitions

11 lines
106 B
Text
Raw Normal View History

2018-02-18 16:10:37 +00:00
#!/bin/sh
if [ $# -ne 1 ]; then
echo $0 disk-to-be-deleted
exit 1
fi
disk=$1
sgdisk -Z "$disk"