Solaris x86 Partition Table Viewer
By moinakg on Aug 16, 2006
I have been playing around with some filesystem stuff on Solaris x86 lately in my free time and a bunch of things are brewing. While doing all this I constantly hit against the lack of a good partition table viewing tool.
The standard fdisk just does not cut the ice. In addition I wanted to see all extended partitions as well since I intend to support accessing other filesystems on extended partitions. So I spent a couple of weekends and conjured up a utility to dump the entire x86 partition table in various formats - Philip Brown's getfdisk.c was my starting point.
In addition mounting PCFS (FAT/FAT32) filesystems in extended partitions on OpenSolaris is tricky at the best due to the /dev/dsk/c\*p0: