Why Use GPT fdisk?

by Rod Smith, rodsmith@rodsbooks.com

Last Web page update: 3/20/2010, referencing GPT fdisk version 0.6.2

Support This Project

If you want or need to use GPT, you have relatively few choices for partitioning software. Under Linux, libparted and the programs that use it (GNU Parted, gparted, and so on) have been your only real choice for a while. As of early 2009, these programs have worked, but have also suffered from several problems. For instance, as of GNU Parted 1.7.1, when creating a partition with a FAT filesystem, Parted marks it with a Microsoft Reserved partition type code, which makes the partition inaccessible to both Windows and Mac OS. As Homer Simpson would say, d'oh!

To work around such problems and to satisfy personal curiosity about GPT, I wrote gdisk. This program's user interface is modeled after that of Linux's fdisk utility for manipulating MBR disks, although gdisk necessarily deviates from fdisk in many respects. I subsequently added the sgdisk command-line-driven version of the program, as well.

Compared to GNU Parted, GPT fdisk has several advantages and disadvantages. Broadly speaking, you should consider using GPT fdisk if:

Chances are you'll be happier with GNU Parted or its GUI cousins if:

Overall, I believe gdisk will appeal to those who like to use simple tools that provide relatively direct control over the things they manage. If you prefer fdisk to Parted on MBR disks, you'll probably prefer gdisk to Parted on GPT disks.

GPT fdisk originated on Linux, and Linux remains my main development platform. If you use another OS, you may want to compare GPT fdisk to your own platform's partitioning tools, so the preceding comparisons may not be very relevant. Compared to OS X's Disk Utility, GPT fdisk provides a great deal more precision and flexibility, but as Disk Utility is a GUI tool, it's much more accessible to those with moderate technical skills. Similar comments apply to Windows' native GUI partitioning tools. FreeBSD, OS X, and Windows all provide their own text-mode GPT partitioning tools with more flexibility than their platforms' native GUI tools.

Go on to "A gdisk Walkthrough"

Return to "GPT fdisk" main page


If you have problems with or comments about this web page, please e-mail me at rodsmith@rodsbooks.com. Thanks.

Return to my main web page.