Add gdisk to partitioning tools.
This commit is contained in:
parent
21478baf33
commit
8472e150c3
@ -5,7 +5,7 @@
|
|||||||
# Some ideas and code reworked from other resources
|
# Some ideas and code reworked from other resources
|
||||||
# AIF, Calamares, and the Arch Wiki.. Credit where credit is due
|
# AIF, Calamares, and the Arch Wiki.. Credit where credit is due
|
||||||
|
|
||||||
VER=2.1.18
|
VER=2.1.19
|
||||||
|
|
||||||
# default values {
|
# default values {
|
||||||
|
|
||||||
@ -598,8 +598,10 @@ part_menu()
|
|||||||
dlg choice menu "Edit Partitions" "$_part\n\n$(lsblk -no NAME,MODEL,SIZE,TYPE,FSTYPE $device)" \
|
dlg choice menu "Edit Partitions" "$_part\n\n$(lsblk -no NAME,MODEL,SIZE,TYPE,FSTYPE $device)" \
|
||||||
"auto" "Whole device automatic partitioning" \
|
"auto" "Whole device automatic partitioning" \
|
||||||
"cfdisk" "Curses based variant of fdisk" \
|
"cfdisk" "Curses based variant of fdisk" \
|
||||||
|
"cgdisk" "Curses based variant of gdisk" \
|
||||||
"parted" "GNU partition editor" $([[ $DISPLAY ]] && hash gparted >/dev/null 2>&1 && printf "gparted 'A gui front end to parted'") \
|
"parted" "GNU partition editor" $([[ $DISPLAY ]] && hash gparted >/dev/null 2>&1 && printf "gparted 'A gui front end to parted'") \
|
||||||
"fdisk" "Dialog-driven creation and manipulation of partitions" \
|
"fdisk" "Dialog-driven creation and manipulation of partitions" \
|
||||||
|
"gdisk" "A text-mode partitioning tool that works on GUID Partition Table (GPT) disks" \
|
||||||
"done" "Return to the main menu"
|
"done" "Return to the main menu"
|
||||||
|
|
||||||
if [[ -z $choice || $choice == 'done' ]]; then
|
if [[ -z $choice || $choice == 'done' ]]; then
|
||||||
|
Reference in New Issue
Block a user