blob: 8bae0caf1e1c56877c1c47a7c89f56babd8d9276 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
usage() {
exec >&2
echo "Usage: $0 <blockdev>"
exit 1
}
[ -b "$1" ] || usage
quietly() { "$@" >/dev/null 2>&1; }
quietly umount /plaintext
quietly dmsetup remove samizdatcrypt
parted "$1" mklabel gpt
grok-block "$1"
|