notes for data drive

This commit is contained in:
rootzoll
2019-11-27 12:29:25 +01:00
parent b1cb411aae
commit d1efedc285

View File

@@ -1,5 +1,9 @@
#!/bin/bash
# INFO deleting all partitions of a drive: sudo wipefs -a -f /dev/sda
# using fdisk non-interactive: https://www.unix.com/shell-programming-and-scripting/207169-non-interactive-fdisk-partition-script.html
# using parted non-interactive: https://unix.stackexchange.com/questions/170258/delete-labelled-partition-non-interactively-with-one-command
# command info
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
echo "STILL EXPERIMENTAL - NOT FINISHED"