From 7b2d061f700175ed7725218bb4509b2f8523f97e Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Fri, 30 Jul 2021 14:58:50 +0200 Subject: 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. --- ogcp/views.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ogcp') diff --git a/ogcp/views.py b/ogcp/views.py index fee8b98..0e0f9ee 100644 --- a/ogcp/views.py +++ b/ogcp/views.py @@ -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 = { -- cgit v1.2.3-18-g5258