summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/initrd/make-total-destroy9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/initrd/make-total-destroy b/src/initrd/make-total-destroy
new file mode 100755
index 0000000..10f8f3d
--- /dev/null
+++ b/src/initrd/make-total-destroy
@@ -0,0 +1,9 @@
1#!/bin/sh
2usage() {
3 exec >&2
4 echo "Usage: $0 <blockdev>"
5 exit 1
6}
7[ -b "$1" ] || usage
8parted "$1" mklabel gpt
9grok-block "$1" \ No newline at end of file