gdisk /dev/<dev_node>
....
Command (? for help): ?
....
l list known partition types.
....
0700 Microsoft basic data 0c01 Microsoft reserved [b]2700 Windows RE[/b]
3000 ONIE boot 3001 ONIE config 3900 Plan 9
4100 PowerPC PReP boot 4200 Windows LDM data 4201 Windows LDM metadata
4202 Windows Storage Spac 7501 IBM GPFS 7f00 ChromeOS kernel
....
It's better to use hex numbers: 139 = 0x27.
sysutils/gdisk does know it:Code:gdisk /dev/<dev_node> ....
root@Test:~# gpart show da0
=> 1 131071999 da0 MBR (63G)
1 31 - free - (16K)
32 2016 3 !224 (1.0M)
2048 4096 4 !235 [active] (2.0M)
6144 131065856 - free - (62G)
root@Test:~# gdisk /dev/da0s3
GPT fdisk (gdisk) version 1.0.3
Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: not present
Creating new GPT entries.
Command (? for help):
0E Win95 DOS 16-bit FAT LBA
27 PQservice|Win RE Hidden|MirOS BSD
EB BeOS File System
I have a list of just about all the known MBR partition types. Here's what I have:
Code:0E Win95 DOS 16-bit FAT LBA 27 PQservice|Win RE Hidden|MirOS BSD EB BeOS File System
The partition numbers are in hex. 0x27 is used by several operating systems. Hmm... Did you run BeOS at any point?