mirror of https://git.48k.eu/ogclient
live: add linux swap parttype
Adds linux swap partition type, mapped to the 'LINUX-SWAP' string in web
interfaces like ogCP or webconsole.
Fixes: 29c53e54e9
("live: add parttypes.py")
more_events
parent
97e753cbfd
commit
0ebcd9f776
|
@ -9,6 +9,7 @@
|
|||
import fdisk
|
||||
|
||||
GPT_PARTTYPES = {
|
||||
'LINUX-SWAP': '0657FD6D-A4AB-43C4-84E5-0933C84B4F4F',
|
||||
'LINUX': '0FC63DAF-8483-4772-8E79-3D69D8477DE4',
|
||||
'NTFS': 'EBD0A0A2-B9E5-4433-87C0-68B6B72699C7',
|
||||
'EFI': 'C12A7328-F81F-11D2-BA4B-00A0C93EC93B',
|
||||
|
@ -16,6 +17,7 @@ GPT_PARTTYPES = {
|
|||
}
|
||||
|
||||
DOS_PARTTYPES = {
|
||||
'LINUX-SWAP': 0x82,
|
||||
'EXTENDED': 0x0f,
|
||||
'EMPTY': 0x00,
|
||||
'LINUX': 0x83,
|
||||
|
|
Loading…
Reference in New Issue