mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
revert last commit
This commit is contained in:
parent
77790fc7d0
commit
57f521cf79
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ _clean_disk() {
|
|||
# clear all magic strings/signatures - mdadm, lvm, partition tables etc
|
||||
wipefs -a -f "${1}" &>"${_NO_LOG}"
|
||||
# really clear everything MBR/GPT at the beginning of the device!
|
||||
dd if=/dev/zero of=${1} bs=1M count=20 &>"${_NO_LOG}"
|
||||
dd if=/dev/zero of=${1} bs=1M count=10 &>"${_NO_LOG}"
|
||||
partprobe "${1}" &>"${_NO_LOG}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue