Lines Matching +full:libncurses +full:- +full:dev
2 -------------------
4 - Fixed problem that caused sgdisk to crash with errors about being unable
6 (commit 740, which is pre-release as I type; presumably version 1.19 and
9 - Updated guid.cc to deal with minor change in libuuid.
11 - Fixed potential NULL derefernce bug in sgdisk. Thanks to Damian Kurek
14 - The partition number of "0" can now be used to reference newly-created
15 partitions when the --largest-new=0 option to sgdisk is used. Thanks to
18 - Make explicit casts in gptcurses.cc to eliminate compiler warnings about
19 mis-matched types in printw() statements.
21 - Minor code cleanup based on valgrind analysis.
23 - In previous versions, rEFInd accepted only integer values for partition
31 ------------------
33 - Removed stray debugging code that caused "partNum is {x}" to be printed
34 when changing a partition's name with sgdisk (-c/--change-name).
36 - Added support for aligning partitions' end points, as well as their start
39 by the new '-I' option in sgdisk. See the programs' respective man pages
44 - Added check for too-small disks (most likely to be an issue when trying
45 to use a too-small disk image); program now aborts if this happens.
47 - Added the ability to build sgdisk and cgdisk for Windows.
49 - Added new type codes:
51 * Apple APFS Pre-Boot (0xaf0b)
54 * ChromeOS mini-OS (0x7f04)
56 * U-Boot boot loader (0xb000)
59 - Fixed build problems with recent versions of ncurses.
61 - Fixed bug that caused cgdisk to report incorrect partition attributes.
63 - Consolidated Makefiles for Linux, FreeBSD, Solaris, macOS, and Windows
64 (32- and 64-bit). The old OS-specific Makefiles remain in case the new
69 -----------------
71 - Fixed double byte swap operation on writes of partition name data on
72 big-endian systems; this is in addition to the double byte swap fix on
76 - Added feature to gdisk and sgdisk to enable swapping the byte order of
79 -b/--byte-swap-name in sgdisk. This seems advanced/obscure enough that I
83 - Added type code for the Barebox boot loader (0xbb00;
84 4778ED65-BF42-45FA-9C5B-287A1DC4AAB1).
86 - Trivial code cleanup.
89 ------------------
91 - Fixed bug that caused spurious warnings about the partition table
95 - Added ARM64 as an architecture for the Mac builds of gdisk and fixparts.
97 "universal" x86-64/ARM64 binaries, so they will run natively on the new M1
99 for x86-64, because they rely on libraries that are not easily built in
102 - Fixed double byte swap operation on partition label data on big-endian
105 - Added three new type codes:
106 - 0x0701 - Microsoft Storage Replica
107 - 0x0702 - ArcaOS Type 1
108 - 0x8401 - Storage Performance Development Kit (SPDK) block device
111 ------------------
113 - Fixed bug that could cause segfault if GPT header claimed partition
115 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-0256
117 - Fixed bug that could cause a crash if a badly-formatted MBR disk was
119 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-0308
121 - Renamed the partition type "Freedesktop $BOOT" to "XBOOTLDR partition".
123 - Added several more Freedesktop partition table type codes (0x8312 through
126 - Fixed type code definition in diskio-unix.cc that prevented 32-bit builds
129 - Minor tweaks to get the software to compile on FreeBSD; that seems to have
133 ------------------
135 - Fixed typos and minor formatting issues in man pages
137 - Changed number of columns in type code output ("sgdisk -L" and equivalents
141 - Makefile change: Add $(LDLIBS) support to enable clean static builds (for
144 - You can now put the 0xEE partition last in a hybrid MBR using sgdisk.
148 - Added numerous type codes for Container Linux, Veracrypt, and
151 - Partition type name searches are now case-insensitive.
153 - It's now possible to quit out of partition type name searches by typing
156 - When changing a partition type code, the default is now the current
157 type code, not a platform-specific type code.
159 - The UEFI GPT fdisk project
167 - Apple no longer supports building i386 or "fat" binaries in XCode (or if
169 macOS binaries are now x86-64 only. Similarly, building now seems to
171 also re-built my Mac build environment and tweaked Makefile.mac
175 -----------------
177 - Added some explicit copy constructors and made some other tweaks to avoid
180 - The macOS binary for sgdisk is now a pure 64-bit build; I'm no longer
181 supporting 32-bit builds of sgdisk. The gdisk and cgdisk binaries remain
182 "fat" 32-/64-bit builds. The reason for dropping the 32-bit support from
183 sgdisk is that I've re-built my macOS development system, and I had
185 libraries upon which sgdisk relies. 32-bit support for the other binaries
188 - Added search feature to partition type list functions ("L" on main menu of
193 descriptions. Note that the search/filter is case-sensitive. If <Enter> is
196 - Change to Makefile.mac to use standard libncurses rather than a 3rd-party
199 - Minor bug fix in alignment of internal data structures.
201 - Minor bug fix in handling of damaged disks. Also, GPT fdisk now reports
205 - Added type code for Apple APFS (7C3457EF-0000-11AA-AA11-00306543ECAC,
208 - Added type code for Atari TOS basic data (0xa200,
209 734E5AFE-F61A-11E6-BC64-92361F002671).
211 - Added type codes for Linux dm-crypt (0x8308,
212 7FFEC5C9-2D00-49B7-8941-3EA10A5586B7) and LUKS (0x8309,
213 CA7D7CCB-63ED-4C53-861C-1742536059CC) partitions.
215 - Added 18 Ceph partition type codes.
217 - Added 52 (yes, 52!) Android partition type codes.
219 - Changed "Creating new GPT entries" message to read "Creating new
221 using sgdisk with a non-destructive option, like "-p".
224 ------------------
226 - Fixed a major bug that caused invalid partition tables to be generated
231 ------------------
233 - On Linux, the p/-p/--print command now shows the disk's model name, as
239 - GPT fdisk can now report both the physical and logical sector sizes of
246 - Addition of new verification checks, mostly (but not exclusively) related
247 to the new j/-j/--move-main-table option.
249 - Added new option: 'j' on the experts' menu in gdisk;
250 '-j/--move-main-table={sector}' in sgdisk. This option enables relocating
253 to be used with a system-on-chip (SoC) computer, some of which require the
259 - Updated man pages with new recommendations for ESP and BIOS Boot Partition
262 - Added four type codes (AF06 through AF09) for Apple SoftRAID (Status,
265 - Added two type codes for the Open Network Install Environment (ONIE):
266 0xe100 (7412F7D5-A156-4B13-81DC-867174929325) and 0xe101
267 (D4E6E2CD-4469-46F3-B5CB-1BFF57AFC149).
269 - Added thirteen type codes for Android partitions (0xa000 through
272 - Added type code for QNX6 (aka QNX Power-Safe) filesystem: 0xb300, for
273 CEF5A9AD-73BC-4601-89F3-CDEEEEE321A1.
275 - Removed stray debug message ("REALLY setting name!") from sgdisk,
276 when setting new name via -c option.
279 -------------------
281 - Created uninstall-fixparts and uninstall-gdisk scripts for OS X. As the
285 - Fixed bug that caused -N/--largest-new option to sgdisk to fail when
288 - Fixed bug that caused input glitches in EFI version of gdisk.
290 - Fixed bug that caused sgdisk to not return an appropriate error code
293 - Fixed bug that caused cgdisk's "Info" display to under-report the
296 - OS X 10.11 includes new security features that prevent GPT fdisk from
299 into the normal system. You can re-enable the security features by
306 - I've updated the OS X installation location from the Unix-standard
312 - I've updated my OS X environment to OS X 10.11 and LLVM 7.0.0. This has
316 systems.) The OS X binaries are now "fat" (32- and 64-bit) versions,
318 32-bit support, in which case the binaries will now work.
320 - Changed the default name of 0xab00 partitions from "Apple boot" to
326 - Changed the OpenBSD type codes (0xa600 and 0xa601): 0xa600 is now
327 824CC7A0-36A8-11E3-890A-952519AD3F61 (OpenBSD disklabel) and 0xa601 is
328 now gone. Previously, 0xa600 was 516E7CB4-6ECF-11D6-8FF8-00022D09712B, a
330 824CC7A0-36A8-11E3-890A-952519AD3F61. OpenBSD is now officially
331 supporting 824CC7A0-36A8-11E3-890A-952519AD3F61 as a disklabel type,
333 non-disklabel type codes at the moment.
335 - Added GUID 0311FC50-01CA-4725-AD77-9ADBB20ACE98 (0xbc00) for
338 - Fixed bug that caused random crashes on ppc64el systems (and perhaps
341 - Added GUID C91818F9-8025-47AF-89D2-F030D7000C2C (0x3900) for Plan 9.
343 - Added GUID 69DAD710-2CE4-4E3C-B16C-21A1D49ABED3 (0x8307) for 32-bit ARM
348 - Edited man pages to clarify that default alignment is to 1MiB boundaries;
349 this translates to 2048 sectors on disks with 512-byte sectors, but it
352 - Changed behavior of -z/--zap and -Z/--zap-all options to sgdisk so that
354 Previously, doing something like "sgdisk --zap-all --clear /dev/sdd"
356 table you'd need to do "sgdisk --zap-all --clear --mbrtogpt /dev/sdd",
357 which is a bit odd and counter-intuitive, to the point of arguably being
361 ------------------
363 - I'm now building a binary package of gdisk_x64.efi, using the UEFI GPT
366 - Added partition type for OpenBSD data
367 (824CC7A0-36A8-11E3-890A-952519AD3F61/0xa601). Also mapped 0xa600 to the
368 FreeBSD disklabel type code (516E7CB4-6ECF-11D6-8FF8-00022D09712B). I'm
372 - Added partition type for Windows Storage Spaces
373 (E75CAF8F-F680-4CEE-AFA3-B001E56EFC2D/0x4202)
375 - Added -O/--print-mbr option to sgdisk, enabling easier display of MBR
378 - Updated warning message: "EBR describes a logical partition" now reads
381 - Altered warning displayed when run from Windows on non-GPT disk, because
382 Windows on UEFI-based systems is becoming more common.
384 - Fixed spurious "1" return value in gdisk.
386 - Small code changes to support compilation as EFI application with the
390 - Added new partition type codes for Ceph
391 …(https://github.com/ceph/ceph/blob/9bcc42a3e6b08521694b5c0228b2c6ed7b3d312e/src/ceph-disk#L76-L81):
392 4FBD7E29-9D25-41B8-AFD0-062C0CEFF05D/0xf800 (Ceph OSD),
393 4FBD7E29-9D25-41B8-AFD0-5EC00CEFF05D/0xf801 (Ceph dm-crypt OSD),
394 45B0969E-9B03-4F30-B4C6-B4B80CEFF106/0xf802 (Ceph journal),
395 45B0969E-9B03-4F30-B4C6-5EC00CEFF106/0xf803 (Ceph dm-crypt journal),
396 89C57F98-2FE5-4DC0-89C1-F3AD0CEFF2BE/0xf804 (Ceph disk in creation), and
397 89C57F98-2FE5-4DC0-89C1-5EC00CEFF2BE/0xf805 (Ceph dm-crypt disk in
400 - Added new partition type codes from
402 44479540-F297-41B2-9AF7-D131D5F0458A/0x8303 (Linux / on x86),
403 4F68BCE3-E8CD-4DB1-96E7-FBCAF984B709/0x8304 (Linux / on x86-64),
404 B921B045-1DF0-41C3-AF44-4C6F280D3FAE/0x8305 (Linux / on 64-bit ARM),
405 3B8F8425-20E0-4F3B-907F-1A25A76F98E8/0x8306 (Linux /srv).
408 ------------------
410 - Added feature to sgdisk's -A/--attributes, -c/--change-name,
411 -t/--typecode, and -u/--partition-guid commands: If a -n/--new option
414 them to use the newly-created partition. For instance, "sgdisk -n
415 0:0:+550M -t 0:EF00 /dev/sda" creates a new partition with a type code of
416 EF00. (Previous versions would ignore the "-t 0:EF00" option.)
418 - Fixed bug that caused incorrect partition number to be displayed by
419 sgdisk in error messages when the user specified a non-existent partition
422 - Fixed new (in 0.8.9) bug that caused a failure to create more than one
425 - Fixed bug that caused gdisk and sgdisk to create hybridized partitions
438 ------------------
440 - Removed dependency on libicu for UTF-16 support.
442 - Fixed spurious "0xEE partition doesn't start on sector 1" warning in
445 - Added GPT regeneration command to GPT-destruction options ('z' in gdisk,
446 -z and -Z options to sgdisk). This is done to avoid wiping out data
447 mid-disk that might not be backup GPT data structures, which could
450 - Added check for an oversized 0xEE protective partition. The program now
451 auto-repairs this condition on loading if the GPT data seem otherwise
456 - If the GPT data seem to be damaged in some way or if the disk seems to
461 - Added new type codes (3000, 7412F7D5-A156-4B13-81DC-867174929325 and
462 3001, D4E6E2CD-4469-46F3-B5CB-1BFF57AFC149) for Open Network Install
465 - Added new type ccde (ED01, BFBFAFE7-A34F-448A-9A5B-6213EB736C22), for
466 Lenovo's ESP-like partition.
469 -------------------
471 - Fixed bug that could cause segfault when passing an invalid partition
472 number to sgdisk's -i/--info command.
474 - Added new type code: 933AC7E1-2EB4-4F13-B844-0E14E2AEF915, or gdisk code
476 versions of systemd to permit /home to be auto-mounted; see
477 http://www.freedesktop.org/software/systemd/man/systemd-gpt-auto-generator.html
480 - Added new type code: 9E1A2D38-C612-4316-AA26-8B49521E5A8B, or gdisk code
483 - The number of partition type codes has grown large enough that it fills
489 - Fine-tuned verification ('v') check for 0xEE partition that doesn't begin
494 - Fixed hybrid MBR creation on disks larger than 2TiB: Previously, if one
498 - Added check for an active/bootable 0xEE protective partition to the
504 -----------------
506 - Modified Mac version so that it can work on /dev/rdisk* devices as well
507 as /dev/disk* devices. The result is that, when using the /dev/rdisk*
508 devices, the partition table can sometimes be re-read without removing
511 - Added "-a" option to cgdisk to use a ">" symbol to the left of the
514 - Modified "converting MBR to GPT" message to clarify that the conversion
516 "gdisk -l" operation will change an MBR disk to a GPT disk without
519 - Added partition type code for freedesktop.org's proposed $BOOT partition
520 (bc13c2ff-59e6-4262-a352-b275fd6f7172; GPT fdisk type code EA00)
522 - Adjusted alignment code when using -n or -N in sgdisk to keep the
530 - Fixed small bugs in gdisk_test.sh script.
532 - Removed stray debug message that would appear when reading MBR disks.
534 - Added partition type code for Intel Rapid Start partition (GUID
535 D3BFE2DE-3DAF-11DF-BA40-E3A556D89593, code 8400), used by systems that
537 http://blog.adios.tw/2012/10/funtoo-linux-and-intel-rapid-start.html or
540 - Added partition type code for Haiku BFS (GUID
541 42465331-3BA3-10F1-802A-4861696B7521; code EB00).
544 -----------------
546 - Fixed a bug that could cause sgdisk to crash when passing a partition
547 number of 0 to the -t option.
549 - Added support for building under Solaris.
551 - Added a new check to the verification code.
553 - Added partition type code for Sony system partition
554 (F4019732-066E-4E12-8273-346C5641494F). I'm not entirely clear what this
557 - Tweaked hybrid MBR creation options to fix a problem that caused the main
562 - Changed default build options for Mac OS X to *NOT* use libicu,
566 - Added partition type codes for VMWare ESX (FB00, FB01, and FC00).
569 ------------------
571 - Changed code that writes the partition table so that a disk sync
575 failed, although everything else worked. (I suspect anti-virus software
578 - Added type codes for Midnight BSD (0xA580 - 0xA585). I used these codes
584 ------------------
586 - REALLY fixed Ctrl+D problems! Now gdisk terminates upon receiving a
587 Ctrl+D. In all previous versions, it could lock itself into a CPU-hogging
593 ------------------
595 - Fixed compilation problem on GCC 4.7.
597 - Improved handling of Ctrl+D on some systems.
599 - Added disk's name to message stating that a disk write was successful.
601 - Fixed bug that caused creation of >2TiB partitions on 32-bit systems to
605 ------------------
607 - Adjusted the code to support a number of partitions that's not a multiple
615 - Fixed bugs relating to the handling of empty partitions; Solaris's ZFS
617 handling properly. (Specifically, they sometimes have non-zero end
620 - Fixed a bug that caused an infinite loop of input prompts if the user
623 - Changed gdisk's first-sector input operation to specify a sector number
630 ------------------
632 - Fixed bug that could cause FixParts to keep a partition's assignment
639 - Added code to detect infinite loops of logical partitions when reading
643 - Fixed bug in partition overlap detection in MBR code.
645 - Changed GPT reading code to use the size encoded in GPT headers to
653 with over-512-byte sector sizes if the header sector is padded with
656 - Fixed bug in new (as of 0.8.0) check that main and backup partition
657 tables are identical on big-endian (PowerPC, etc.) hardware.
660 ------------------
662 - Added new return option for sgdisk: 8, which means that a replication
663 operation (-R or --replicate) failed. Note that other operations on
666 - Added gdisk_test.sh shell script, contributed by Guillaume Delacour.
670 - Enable sgdisk's -l (--load-backup) and -o (--clear) options to work
676 - Added check for mis-matched primary and backup partition tables.
679 - Added Apple Core Storage partition type code (hex code AF05, GUID
680 53746F72-6167-11AA-AA11-00306543ECAC).
682 - Added cgdisk program to the family. This program is a rough workalike
684 man page or http://www.rodsbooks.com/gdisk/cgdisk-walkthrough.html for
687 - Fixed bug that caused CHS end point for protective MBR to be set to
688 0xfeffff rather than the spec-mandated 0xffffff on disks over ~8GB. This
693 ------------------
695 - The Windows version now (finally!) generates proper GUIDs rather than a
700 - Added a warning when an MBR partition is discarded because it's too
703 - Changed warning to Windows users about the dangers of converting to GPT
706 - Fixed bug that caused bogus "3" values to pad the ends of partition names
710 - Made compilation without Unicode support possible (see README file)
712 - Made default filesystem type code OS-dependent (based on the compilation
715 - Added new Linux-only filesystem partition type GUID code,
716 0FC63DAF-8483-4772-8E79-3D69D8477DE4 (8300 entry code). Also changed name
717 of the EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 (0700 entry code) to
720 - Fixed a bug that caused an incorrect code to be set for active/bootable
723 - Enable entry of hex codes that begin with "0x" for both GPT and MBR
726 - Fixed bug that caused the boot loader code to be lost when creating a
729 - Fixed bug in sector input code that could produce improper values
733 ------------------
735 - Added support for proper UTF-16LE partition names rather than the
744 - Added check to fixparts to keep it from operating on devices that
748 - Fixed bug that caused the protective MBR to not be written when
751 - Fixed bug that caused second protective MBR partition, when created
755 - Integrated a number of code cleanups contributed by Florian Zumbiehl.
758 ------------------
760 - Fixed bug that caused some types of logical partitions to be misread.
762 - Created FixParts program, to fix problems on MBR-partitioned disks.
766 - Completely redid the GPT-to-MBR code, used both for converting to MBR
769 - Fixed a bug that caused gdisk to "forget" some partitions if there were
772 - Improved CHS value creation on small (<~8GB) disks for protective MBR
773 and when creating hybrid MBRs or converting to MBR format. Linux-only,
774 for the moment; other platforms still produce bad CHS values on sub-~8GB
777 - Enhanced disk replication features ('u' on the experts' menu in gdisk; -R
778 or --replicate in sgdisk). It's now possible to replicate the partition
786 - Fixed --load-backup (-l) option to sgdisk, which was broken.
788 - Changed largest drive that's not given a minimum 4 KiB alignment even
791 - Fixed bug that prevented aborting a partition table backup ('u' on the
794 - Implemented a number of code cleanups provided by Florian Zumbiehl.
797 ------------------
799 - Made small change to the way the start sector is interpreted if you use a
804 - Modified sgdisk's -n (--new) option to work with relative start and end
810 - Added ChromeOS GUID values to list of recognized partition type GUIDs.
814 - Tweaked APM detection to look for APM signature even if an MBR
819 --------------------
821 - Added notification about nonexistent partitions to hybrid MBR creation
824 - Fixed bug in GPT-to-MBR conversion that could sometimes enable creation
827 - Fixed bug in GPT-to-MBR conversion that prevented creation of an MBR
831 -------------------
833 - Adjusted alignment code to use 1 MiB alignment by default for drives with
834 other than 512-byte sector sizes. (Previous versions increased this --
835 for instance, to 4 MiB for drives with 2048-byte logical sector size.)
837 - Entry of non-hexadecimal value for partition type code now causes
838 re-prompting for a new value, fixing a recently-introduced minor bug.
840 - Fixed bug in sector entry using K/M/G/T/P suffixes on disks with
841 other-than-512-byte sector numbers.
843 - Added "P" (PiB, pebibyte) suffix to suffixes accepted in entering
846 - Fixed bug that caused sgdisk to segfault if fed the (invalid)
847 "-A show" parameter. Now it terminates with a complaint about an invalid
850 - Removed warning when running on big-endian hardware, since this
854 -------------------
856 - Added -F (--first-aligned-in-largest) option to sgdisk. This option is a
857 variant on -f (--first-in-largest); it returns the number of the first
859 alignment value (set via -a/--set-alignment).
861 - Streamlined GUID code entry in gdisk; it no longer offers the option
864 - The -t option to sgdisk now accepts GUID values as well as the
865 sgdisk/gdisk-specific two-byte hex codes.
867 - Added check that the protective 0xEE MBR partition begins on sector 1
871 - Added check for overlapping MBR partitions to verify function (gdisk "v"
872 function on all menus; sgdisk -v/--verify function). Also warns about
875 - Added check to GPT-to-MBR and hybrid MBR creation options to prevent
884 -------------------
886 - Enable disk-wipe (-z and -Z) and verification (-v) operations in
889 - Added support for setting attributes in sgdisk (-A/--attributes option)
892 - Fixed bug that created backwards attribute field values (bit #2 was
895 - Fixed bug that caused creation of hybrid MBR to wipe out the MBR's boot
898 - Added ability to save partition table from one device to another (gdisk:
899 'u' on experts' menu; sgdisk: -R or --replicate option).
901 - Fixed inaccessible -C/--recompute-chs option in sgdisk.
904 ------------------
906 - Fixed minor error in sgdisk man page (--largest-new option requires
909 - Fixed major bug in hybrid MBR creation, which caused incorrect
914 ------------------
916 - Added tests to see if the file to be opened is a directory, character
921 - Added 'f' option on gdisk's experts' menu (-G/--randomize-guids in
927 - Added -u/--partition-guid and -U/--disk-guid options to sgdisk. These are
933 - Fixed compile problem for FreeBSD (its math library lacks a log2()
935 FreeBSD-specific options.
937 - Added -N (--largest-new) command to sgdisk. This command creates a single
941 - Fixed sgdisk man page error: the --change-name option was incorrectly
942 listed as --change.
944 - Added 'h' option to gdisk experts' menu (-C or --recompute-chs in sgdisk)
947 computer from booting when the GPT-mandated (but technically illegal)
955 -----------------
957 - Undid earlier change, with version 0.6.4, that wiped the MBR boot loader
958 when doing MBR-to-GPT conversions. I've now become skeptical that MBR
962 - Fixed bug that caused incorrect reporting of free space on 0-size disks
965 - Fixed bug that caused segfault on some invalid disks
967 - Fixed bug that caused incorrect partition numbers to be displayed for
972 -----------------
974 - Added support for the "no block IO protocol" (referred to as "hide from
978 - Changed the sequence in which GPT data structures are written to disk;
982 there's a power outage mid-write. (If the main structures are written
987 - Protective MBRs now have disk signatures of 0x00000000, to better
990 - Added alignment information to the summary data produced by the
991 'p' main-menu option in gdisk or the -p option to sgdisk.
993 - More alignment changes: GPT fdisk now attempts to determine the alignment
997 the drive might be a WD Advanced Format unit that requires an 8-sector
998 (or larger power-of-2) alignment value for best performance. The
999 2048-sector default provides better alignment in some RAID
1002 - Changed behavior when a backup restore fails. Previously, GPT fdisk
1005 user typed the wrong filename, the in-memory data structures aren't
1010 -----------------
1012 - Added tests to verify ('v') function and to pre-save checks to look for
1016 - Fixed a bug that could cause spurious data to appear in a grown partition
1019 - Added ability to convert some or all partitions to logical partitions in
1020 GPT-to-MBR conversion. This feature is limited by the fact that at least
1032 - Fixed bug that caused creation of 0-length file if an incorrect device
1035 - The gdisk program now prompts for a device filename if it's called with
1037 double-clicking its icon in a GUI environment.
1039 - Added workaround for bug in some versions of MinGW that caused the
1042 - The Windows version now works on disks with over-512-byte sectors.
1043 Tested on a magneto-optical (MO) drive with 2048-byte sectors.
1045 - Added -D (--display-alignment) option to sgdisk, to display sector
1046 alignment value (by default, 1 for sub-800GiB disks and 8 for disks
1049 - Fixed bug in computation of CHS geometries for protective MBR. This is
1050 non-critical, since most modern utilities ignore the CHS geometries.
1055 - Fixed memory-allocation bug when reading GPT disks with partition tables
1058 0.6.4-2 (2/20/2010):
1059 --------------------
1064 - Altered Makefile to pass user's compiler and linker environment
1067 - Added #include to gpttext.cc to enable it to compile on the latest
1071 -------------------
1073 - Added -m (--gpttombr) option to sgdisk, enabling conversion of GPT
1077 - Added -h (--hybrid) option to sgdisk, enabling creation of hybrid
1081 - Fixed off-by-one bug in specification of partition when using the
1082 -T (--transform-bsd) option in sgdisk.
1084 - Changed the code to create a new MBR unique disk signature whenever a new
1085 protective MBR is generated (when doing an MBR-to-GPT conversion, when
1093 - Added transpose ('t' on experts' menu in gdisk; or -r or --transpose in
1094 sgdisk) command to enable fine-tuning partition order without doing a
1097 - Added code to clear the MBR boot loader when doing an MBR-to-GPT
1098 conversion. (This was already done in full-disk BSD-to-GPT conversions.)
1101 GPT disks, and/or they attempt to load a second-stage boot loader stored
1107 - Fixed bug in Windows version that prevented saving backup files.
1109 - Fixed bug that caused second and subsequent partition numbers in
1113 - Fixed very obscure potential bug in hybrid MBR/GPT synchronization when
1118 - Fixed bug in the -E option to sgdisk; it was actually returning the
1121 - Fixed bug in -t option to sgdisk; it was corrupting partition type
1124 - Fixed minor alignment bug in partition summary list ('p' from any menu)
1127 - Backup restore function ('l' on recovery & transformation menu) now
1130 partition table, in that order. ("dd if=/dev/sda of=backup.gpt bs=512
1131 count=34" will do this on Linux for a disk with a typical-sized GPT table
1135 ------------------
1137 - Fixed serious data corruption bug on big-endian (PowerPC and similar)
1140 - Changed several GPT fdisk Solaris type codes to correct a duplicate
1142 - Corrected error in GPT fdisk type codes for NetBSD LFS and NetBSD RAID;
1146 - Added GUID for IBM General Parallel File System (GPFS) partition type
1151 - Improved GUID generation. Prior versions generated completely random
1156 - Turned PartTypes class into a derived class of GUIDData, and renamed
1159 - Created new GUIDData class, to replace the original GUIDData struct.
1162 ------------------
1164 - The change-type ('t' on main menu) option now changes the partition's
1168 - Fixed bug that caused new protective MBR to not be created when the
1172 - Enabled default partition type code of 0700 when creating partitions
1176 - Fixed bug in sort ('s' on main menu) option that caused partition
1180 - Improved code to determine which partition table to load in case of
1184 - Compiles using MinGW (http://www.mingw.org) to create a Windows binary.
1186 - Moved all disk I/O functions to the new DiskIO class. This helps with the
1187 Windows port; it uses diskio-windows.cc for Windows-specific code,
1188 diskio-unix.cc for the Linux, FreeBSD, and OS X code, and diskio.cc for
1189 cross-platform disk I/O code.
1191 - Changed BSD disklabel detection code to be more correct (I think).
1196 ------------------
1198 - Fixed bug that returned incorrect disk size on 32-bit versions of
1201 - Fixed bug that prevented FreeBSD version from working on disk image
1204 - Fixed bug that caused BSD disklabel conversion to fail.
1207 ------------------
1209 - Fixed bug that caused the convert to MBR function to fail.
1211 - Added support for disks with other than 512-byte sectors.
1213 - Created embryonic sgdisk program.
1215 - Fixed bug that caused relative sector numbers entered by users (e.g,
1220 -----------------
1222 - Fixed bug in display of GUIDs when compiled with some versions of GCC.
1224 - Eliminated warnings caused by additional checks in latest versions of
1228 - Eliminated unnecessary warnings about potential data loss if the program
1229 was launched with the -l option or if writes aren't possible.
1231 - Added code to set the partition boundary value based on the physical
1237 -------------------
1239 - Modified partition creation function to begin partitions on 8-sector
1244 - Tweaked code to produce fewer warnings on the latest versions of
1248 ------
1250 - Made some minor edits to the man page.
1252 - Incorporated RPM .spec file changes contributed by Scott Collier
1255 - Changed method of locating and loading backup GPT data, to use the
1259 - Added 'e' option (relocate backup GPT data structures) to the experts'
1262 - Fixed bug that prevented recovery of partitions in case of partially
1267 ------
1269 - Added GPT-to-MBR conversion function. It's very limited, but potentially
1272 - Fixed bug that caused incorrect file sizes to be reported on 32-bit
1276 - Fixed bug that caused bogus CRC error reports when loading backup GPT
1279 - Reorganized menus. There are now three: the main menu, the experts' menu,
1283 - Added ability to re-load the MBR and generate a fresh GPT from it. This
1284 is normally identical to quitting and re-running the program, but it
1289 - The program now generates CHS values for hybrid and GPT-to-MBR conversion
1292 code supports other values -- it'd just be awkward to enter the data in
1295 - Fixed minor display bug that caused number of sectors on the disk to be
1296 shown as 0 on large disks when running 32-bit binaries.
1298 - Reverted 0.4.2's zap (destroy GPT) changes, since I don't want to wipe
1303 - Reformatted and edited the man page. Aside from edits related to the
1309 ------
1311 - Code cleanup.
1313 - Fixed very small formatting bug in display of hex code when a match isn't
1316 - Added the ability to work on disk image files (raw files for virtual
1318 image files have 512-byte sectors.
1320 - Added verification prompt to 'o' main-menu option to avoid accidental
1323 - The "destroy GPT data structures" option ('z' on the experts' menu) now
1326 - Added an extra warning to the "destroy GPT data structures" option if an APM
1329 - Added a buffer flush after destroying GPT data structures, to get the OS
1330 to read the new (empty or MBR-only) partition table.
1332 - Fixed bug that allowed entry of nonexistent partition numbers when creating
1336 ------
1338 - Code cleanup/re-organization
1340 - Partition creation function ('n' on main menu) now uses the start of the
1345 - You can now specify the end point of a partition by using a minus sign,
1347 size. For instance, "-200M" creates a partition that ends 200MiB before
1350 - You can now specify the start point of a partition by using a plus or
1352 the start (+) or end (-) of free space. This is exactly the same as the
1356 - Deleting a partition now checks for a matching hybrid MBR partition, and
1359 If no non-0xEE partitions are left, a fresh protective MBR is generated.
1361 - Added hybrid MBR consistency check to the verify ('v') option and to
1362 pre-write checks. If non-0xEE/non-0x00 MBR partitions without
1366 - Added non-destructive write test when opening the device file, in order
1371 ------
1373 - Added support for BSD disklabels. The program can now convert disks that
1380 - Added support for compiling on FreeBSD.
1382 - Fixed bug that could cause crashes or incomplete sorts when sorting
1385 - New partitions, including converted ones, now take on the name of the
1388 - Reorganized some code; created a separate C++ class for GPT partitions
1392 - Fixed a bug that produced spurious warnings about unknown sector sizes
1396 ------
1399 the big-endian support while developing 0.4.0.
1401 - Tweaked the disk type identification code to warn users to re-sync their
1404 - Tweaked MBR-reading code to ignore 0xEE (EFI GPT) partitions. This will
1409 - Added big-endian (PowerPC, etc.) support!
1411 - Added code to identify and warn of the presence of an Apple Partition
1414 - Enabled MBR conversion code to handle multiple logical partitions.
1417 ------
1419 - Fixed bug that enabled (possibly accidental) entry of MBR type codes of
1425 - Fixed a typo: "sectors" was spelled "sectprs" in one spot!
1427 - Fixed bug that caused default entry for end sector to be refused if an
1431 ------
1433 - Gave users control over the way MBR partitions are assigned to slots in a
1435 the real partitions) works well for non-boot disks, but both GRUB and
1438 - Changed "blocks" to "sectors" in GPT and MBR table displays.
1440 - Added "Boot" column to MBR table display; shows an asterisk (*) when the
1444 ------
1446 - Changed __DARWIN_UNIX03 to __APPLE__ as code to enable MacOS X support.
1448 - Added the ability to create a hybrid MBR ('h' on experts' menu). This was
1449 motivated by my discovery that Windows 7 remains brain-dead when it comes
1450 to the ability to boot from a GPT disk, at least on BIOS-based machines.
1452 - Added 'z' option to experts' menu, to destroy GPT data structures and
1454 of the disk using fdisk or other GPT-unaware tools. (GNU Parted will wipe
1458 - Slightly altered the effect of the 'o' command on the main menu. It now
1462 ------
1464 - Added Mac OS X support, provided as a patch by David Hubbard
1467 - Fixed bug in disksize() function on Mac OS. (Possibly dependent on the
1471 work OK on my Mac OS test system and on both 32- and 64-bit Linux
1474 - Fixed off-by-one bug in GPTData::FindLastAvailable().
1476 - Fixed bug that caused display of options after a disk-write error.
1478 - Fixed several incorrect MacOS X partition type GUIDs, thanks to Yves
1482 ------
1484 - Changed version number to 0.3.0, reflecting the fact that I've received
1489 - Fixed minor bug in CHS geometry of the protective MBR's type EE partition
1491 Should be a non-critical bug since the protective MBR partition
1492 definition is only there to keep MBR-only disk utilities from messing
1495 - Added ability to enter GUIDs as single massive strings rather than in
1499 ------
1501 - Added #include directives required to compile the program using GCC
1505 ------
1507 - Fixed partition numbering problem in reports of partition overlaps in
1510 - Fixed 1-sector partition size problem when creating new partitions
1513 - Changed BytesToSI() to display values in bytes without decimal points
1516 - Added GPTData class member functions to retrieve GPT data structure
1517 locations on disk; used in my internal-use-only GPT-wiping program.
1519 - Eliminated the "a reboot is recommended" notice after writing the
1522 - Added notice after sorting the partition table to the effect that
1525 - Fixed bug in MBR-reading function that caused 0x0f (Win95 LBA) and 0x85
1528 - Fixed bug in GetLastSector() (in support.cc) that would have prevented
1529 correct user entry of over-32-bit sector numbers on 32-bit systems.
1531 - Made some changes/corrections to the partition type list in
1532 parttypes.cc. Most of these were based on newly-discovered MBR type
1535 - General code cleanup (setting explicit casts, etc.)
1538 ------
1540 - Initial semi-public release