summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2021-07-30 14:58:50 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-07-30 15:00:34 +0200
commit7b2d061f700175ed7725218bb4509b2f8523f97e (patch)
treee2523425ebb791b4fb1581a55afc84215bd7ac6b
parent9d98cf0423e7fa0e74bc06ae8d47c9d4896564c1 (diff)
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.
-rw-r--r--ogcp/views.py5
1 files changed, 4 insertions, 1 deletions
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 = {