mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-09 20:32:52 +02:00
notes for data drive
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/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
|
# command info
|
||||||
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
||||||
echo "STILL EXPERIMENTAL - NOT FINISHED"
|
echo "STILL EXPERIMENTAL - NOT FINISHED"
|
||||||
|
Reference in New Issue
Block a user