Commit Graph

89 Commits

Author SHA1 Message Date
Rod Smith
cb4bf32074 Minor code cleanup based on valgrind analysis 2023-03-10 13:28:00 -05:00
Rod Smith
8ff360f49e Fix valgrind complaint 2022-04-10 11:09:19 -04:00
Rod Smith
6b7486db99 Abort load of too-small disk image 2022-04-10 10:25:41 -04:00
Rod Smith
fd60f74362 Add end-alignment feature. 2022-01-29 10:51:02 -05:00
Rod Smith
eae9f7e2e1 Code cleanup based on 'infer' suggestions; mostly just dead stores.
One forgotten change
2021-03-17 21:59:18 -04:00
Rod Smith
f063fe08e4 Fix spurious warnings of problems on MBR disks 2021-02-01 10:19:50 -05:00
Rod Smith
81c8bbee46 Fix segfault on some weird data structures 2020-09-14 10:08:18 -04:00
Rod Smith
9ae60195b9 Added explicit copy constructors and made other tweaks to avoid
compiler complaints.
2018-07-05 16:50:13 -04:00
Rod Smith
44cda477df Added search/filter feature to "L" function to display partition type
codes.
2018-07-05 09:07:58 -04:00
Weiping Zhang
826f8a0d53 Show detail status of header and table
Signed-off-by: Weiping Zhang <zhangweiping@didichuxing.com>
2018-06-22 01:19:13 +08:00
Weiping Zhang
c41db9e690 load main partition table if main header crc is ok
mainCrcOk and secondCrcOk were overwritten by header rebuilding.

Signed-off-by: Weiping Zhang <zhangweiping@didichuxing.com>
2018-06-22 01:19:13 +08:00
Rod Smith
5e490b279f Changed "Creating new GPT entries" message to "Creating new GPT
entries in memory" because the latter is clearer and more precise.
2018-04-29 16:23:49 -04:00
Rod Smith
f1f6236fb4 Fixed a major bug that caused improper partition tables to be created.
Version 1.0.3 release.
2017-07-27 21:59:14 -04:00
Rod Smith
7dfc896734 Added support for showing the disk's model name under Linux. 2017-07-26 19:45:51 -04:00
Rod Smith
fc0e014bea Added code to read physical block size on Linux. 2017-07-25 21:33:18 -04:00
Rod Smith
0dfa506ba6 Added a couple of new verification checks and minor tweaks. 2017-07-23 11:50:17 -04:00
Rod Smith
503e9ada12 Initial commit of support for moving main partition table to arbitrary
location on disk (within limits based on existing partitions).
2017-07-21 21:48:13 -04:00
Roderick W. Smith
846a9e30cd Version 1.0.1 release. 2015-10-18 19:21:11 -04:00
Roderick W. Smith
1f7822eb54 Changes to support compilation with UEFI GPT fdisk library. 2014-03-28 23:54:21 -04:00
Roderick W. Smith
84aaff6b9c Removed libicu dependency for UTF-16 partition names. Version 0.8.9
release.
2014-02-17 16:17:11 -05:00
Roderick W. Smith
5435fcf5c4 Checks on backup GPT data structures added to GPTData::DestroyGPT(). 2014-02-17 12:01:51 -05:00
Roderick W. Smith
4a702a2e26 New checks for an oversized 0xEE protective (or any hybrid MBR)
partition. Auto-corrects on loading if protective & otherwise valid;
if not, verify and save operations warn of the problem.
2014-01-25 23:46:42 -05:00
Roderick W. Smith
24bba6e4f3 Fixed bug in sgdisk that could cause segfault when passing an invalid
partition number to -i/--info; added patch to fix compiling problems
with some versions of GCC.
2013-10-12 19:07:16 -04:00
Roderick W. Smith
e3ee733ff8 Removed 0x8302 type code, since the Red Hat parted developers have
decided against using it.
2013-09-24 12:56:11 -04:00
Roderick W. Smith
042f38a2f7 Check for boot/active flag on 0xEE protective partition in verify
function.
2013-08-31 17:40:15 -04:00
Roderick W. Smith
1eea9b0b51 New partition type codes & "-a" option for cgdisk 2013-07-06 22:52:58 -04:00
srs5694
f5dfbfa418 Change to alignment code in sgdisk. 2013-02-14 20:47:14 -05:00
srs5694
0741fa21ac 0.8.6 release. 2013-01-09 12:55:40 -05:00
srs5694
d8eed46294 Added partition type codes; new verification check. 2012-12-15 01:55:21 -05:00
srs5694
4307ef2e86 Version 0.8.5 release 2012-05-30 12:30:48 -04:00
srs5694
3488294d71 GPT fdisk 0.8.3 release; minor bug fixes & feature changes. 2012-03-23 12:49:15 -04:00
srs5694
706e51217a Changes to partition table size management for Solaris-created GPTs 2012-01-21 13:47:24 -05:00
srs5694
e69e6807cf Fixes related to handling of GPTs created under Solaris 2012-01-20 22:37:12 -05:00
srs5694
0541b56fee Minor bug fixes 2011-12-18 16:35:25 -05:00
srs5694
23d8d54cdf Changes for GPT fdisk version 0.8.1 2011-10-01 18:40:10 -04:00
srs5694
d1b11e8305 Fixed bug in reading GPTs with encoded header sizes other than 92 bytes. 2011-09-18 21:12:28 -04:00
srs5694
a17fe69ec0 Changes for version 0.8.0 2011-09-10 20:30:20 -04:00
srs5694
00b6d7a460 0.7.2 release, includes new Linux type code & true GUID generation in
Windows
2011-06-26 22:40:06 -04:00
srs5694
6aae2a9b70 Miscellaneous bug fixes. 2011-06-10 01:16:51 -04:00
srs5694
699941e25a 0.7.1 release version 2011-03-21 21:33:57 -04:00
srs5694
815fb65195 A few minor changes. 2011-03-18 12:35:56 -04:00
srs5694
5a6085310b Preliminary UTF-16LE support for GPT descriptions 2011-03-17 13:53:01 -04:00
srs5694
01f7f08624 Second patchset from Florian & a few other small changes 2011-03-15 23:53:31 -04:00
srs5694
9a46b042c5 Patches supplied by Florian Zumbiehl 2011-03-15 00:34:10 -04:00
srs5694
bf8950cad0 Version 0.7.0 2011-03-12 01:23:12 -05:00
srs5694
64cbd17106 Misc. bug fixes & restructuring. 2011-03-01 22:03:54 -05:00
srs5694
df9d363d34 Version 0.6.14 release 2011-01-08 18:33:24 -05:00
srs5694
058d4a5861 Version 0.6.13: GPT-to-MBR conversion bug fixes. 2010-10-12 12:42:47 -04:00
srs5694
0873e9d0e9 Version 0.6.12 release; mostly changes in support for disks with other
than 512-byte sectors.
2010-10-07 13:00:45 -04:00
srs5694
ab4b043839 Final 0.6.11 version; only trivial changes 2010-09-25 20:39:52 -04:00