list_block_devices
This commit is contained in:
parent
510ca5a5b3
commit
86db452e72
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
list_block_devices() {
|
sh_list_block_devices() {
|
||||||
lsblk \
|
lsblk \
|
||||||
--noempty \
|
--noempty \
|
||||||
--output "NAME,SIZE,TYPE,FSTYPE,LABEL,MOUNTPOINTS"
|
--output "NAME,SIZE,TYPE,FSTYPE,LABEL,MOUNTPOINTS"
|
||||||
|
@ -30,7 +30,7 @@ sh_read_secret() {
|
||||||
|
|
||||||
sh_warn_wipe() {
|
sh_warn_wipe() {
|
||||||
local tmp
|
local tmp
|
||||||
list_block_devices
|
sh_list_block_devices
|
||||||
printf "%s" "WIPE ${*} /?\\ OR CANCEL /!\\"
|
printf "%s" "WIPE ${*} /?\\ OR CANCEL /!\\"
|
||||||
read -r tmp
|
read -r tmp
|
||||||
sh_log_trace "${tmp}"
|
sh_log_trace "${tmp}"
|
||||||
|
|
Loading…
Reference in a new issue