Add EFI, NTFS and LINUX GPT partition codes

Otherwise, ogcp fails to parse them when received.

Note: this commit write the codes in decimal notation, but the common
way is hexadecimal notation.
multi-ogserver
Javier Sánchez Parra 2021-07-30 14:58:50 +02:00 committed by OpenGnSys Support Team
parent 9d98cf0423
commit 7b2d061f70
1 changed files with 4 additions and 1 deletions

View File

@ -42,7 +42,10 @@ PART_TYPE_CODES = {
7: 'NTFS',
131: 'LINUX',
202: 'CACHE',
218: 'DATA'
218: 'DATA',
1792: 'NTFS',
33536: 'LINUX',
61184: 'EFI'
}
PART_SCHEME_CODES = {