Skip to content

Commit c7191b5

Browse files
authoredOct 19, 2022
add linux swap partition type (#155)
Value is from https://tldp.org/HOWTO/Partition-Mass-Storage-Definitions-Naming-HOWTO/x190.html https://en.wikipedia.org/wiki/Partition_type Signed-off-by: Leslie Qi Wang <[email protected]> Signed-off-by: Leslie Qi Wang <[email protected]>
1 parent 9d38219 commit c7191b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎partition/mbr/types.go

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const (
1818
Fat32LBA Type = 0x0c
1919
Fat16bLBA Type = 0x0e
2020
ExtendedLBA Type = 0x0f
21+
LinuxSwap Type = 0x82
2122
Linux Type = 0x83
2223
LinuxExtended Type = 0x85
2324
LinuxLVM Type = 0x8e

0 commit comments

Comments
 (0)
Please sign in to comment.