Add script to remove all partitions
This commit is contained in:
parent
de35836d2a
commit
353a9e16d8
1 changed files with 10 additions and 0 deletions
10
remove-all-partitions
Normal file
10
remove-all-partitions
Normal 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"
|
Loading…
Reference in a new issue