Rod Smith
6a8416cbd1
Updated guid.cc to deal with minor change in libuuid
2022-04-16 09:32:04 -04:00
Rod Smith
5d5e76d369
Fix failure & crash of sgdisk when compiled with latest popt (commit 740; presumably eventually release 1.19)
2022-04-15 18:10:14 -04:00
Rod Smith
1d46f3723b
GPT fdisk version 1.0.9
2022-04-14 20:01:30 -04:00
Rod Smith
075f3fe2a0
Added several new partition type codes
2022-04-12 19:00:23 -04:00
Rod Smith
122b58ad82
Introduction of unified (multi-OS) Makefile
...
Forgot something!
2022-04-12 18:13:44 -04:00
Rod Smith
b056f3860a
Fix bug that caused cgdisk to report incorrect partition attributes.
2022-04-10 12:57:41 -04:00
Rod Smith
8ff360f49e
Fix valgrind complaint
2022-04-10 11:09:19 -04:00
Rod Smith
d37658e350
Updated NEWS file for recent merges.
2022-04-10 10:28:50 -04:00
Rod Smith
6b7486db99
Abort load of too-small disk image
2022-04-10 10:25:41 -04:00
Rod Smith
4be26d7228
Fix build problem with recent ncurses versions
2022-04-10 09:55:48 -04:00
Rod Smith
edc67b66db
Patch set from Bin Meng to clean up some code & support building sgdisk for Windows
2022-04-10 09:28:08 -04:00
Rod Smith
fd60f74362
Add end-alignment feature.
2022-01-29 10:51:02 -05:00
Rod Smith
43b3df969c
Removed another stray debugging message
2021-10-09 18:40:30 -04:00
Rod Smith
1e084b3ac2
Remove stray debugging code
2021-10-09 15:52:16 -04:00
Rod Smith
1ae2f1769f
Version 1.0.8 release
2021-06-09 20:13:13 -04:00
Rod Smith
236f26bd6d
Added type code for Barebox boot loader
2021-06-09 09:57:33 -04:00
Rod Smith
64d07975fe
Expand some options in sgdisk man page.
2021-06-09 09:23:56 -04:00
Rod Smith
331ad9c795
Add ability to reverse byte order of partition names to gdisk and sgdisk
2021-06-08 15:23:02 -04:00
Rod Smith
08be8933a9
Added info to NEWS about latest commits.
2021-06-08 09:38:07 -04:00
Erik Larsson
fded770b55
gptpart.cc: Remove byteswap commands in GPTPart::SetName(const string&).
...
The byteswapping done in GPTPart::SetName(const string&) was reversed
later when GPTPart::ReversePartBytes() was called.
The intended design seems to have been to keep the fields in native
endianness until just before the partition is written to disk when all
the GPTPart data is byteswapped all at once with a call to
GPTPart::ReversePartBytes().
However this was defeated by leaving the original byteswaps in there and
effectively the name was swapped back to the native-endian form. For big
endian systems this meant that a UTF-16BE string was written to disk,
violating the specification and causing interoperability problems.
Fixed by removing these inline byteswaps in GPTPart::SetName(const
string&).
2021-06-08 16:11:21 +03:00
Erik Larsson
2a15a246a1
gptpart.cc: Minor fix to end comment of GPTPart::ReversePartBytes(void).
...
The end comment was confusingly saying ReverseBytes instead of
ReversePartBytes.
2021-06-08 15:49:03 +03:00
Rod Smith
bc067e7197
Updated e-mail address for contributor Dwight Schauer
2021-05-02 17:57:37 -04: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
80e66b2592
Version 1.0.7 release
2021-03-10 20:23:37 -05:00
Rod Smith
79977a7e48
Three new type codes
2021-03-10 19:42:31 -05:00
Rod Smith
0d47132b76
Adjusted documentation & Makefile.mac for new ARM64 support under macOS
2021-03-08 19:06:27 -05:00
Erik Larsson
86dd5fea35
gptpart.cc: Fix double byteswap for big-endian architectures.
...
The data in 'name' was already byteswapped by ReversePartBytes, so
byteswapping it again in GetDescription returned each UTF-16BE unit back
to UTF-16LE and caused seemingly garbage strings to be printed.
2021-03-07 14:46:59 +00:00
Rod Smith
f063fe08e4
Fix spurious warnings of problems on MBR disks
2021-02-01 10:19:50 -05:00
Rod Smith
6180deb472
Version 1.0.6 release
2021-01-13 17:17:41 -05:00
Rod Smith
273fff5c84
Adjust position of multiple-inclusion protection in .h files
2021-01-13 14:33:54 -05:00
Rod Smith
b160f90589
update NEWS
2021-01-13 10:31:07 -05:00
Rod Smith
f523bbc0c2
Fix bug that could cause crash if a badly-formatted MBR disk was read.
2021-01-13 10:29:24 -05:00
Rod Smith
ee3abf6f6d
Update version number and dates prior to 1.0.6 release.
2021-01-13 10:08:01 -05:00
Roderick W. Smith
8fbc65a048
Merge /u/aaronbamberger/gptfdisk/ branch master into master
...
https://sourceforge.net/p/gptfdisk/code/merge-requests/23/
2021-01-13 14:40:10 +00:00
nl6720
78bc9d81e2
Add Linux /usr and /usr verity partition types
...
See https://systemd.io/DISCOVERABLE_PARTITIONS/ and https://github.com/systemd/systemd/pull/17101 .
2021-01-13 10:25:42 +02:00
nl6720
6227140ecb
Add systemd-homed user's home partition type
...
See https://systemd.io/HOME_DIRECTORY/ .
2021-01-13 10:25:41 +02:00
Rod Smith
617e8a6427
Update NEWS file
2021-01-12 19:14:21 -05:00
Rod Smith
e420ea7bc5
Rename the partition type "Freedesktop $BOOT" to "XBOOTLDR partition"
2021-01-12 19:12:30 -05:00
Rod Smith
81c8bbee46
Fix segfault on some weird data structures
2020-09-14 10:08:18 -04:00
Aaron Bamberger
c03d1105dc
Fix missing 64-bit offset types in diskio-unix
...
Most of the types used in the diskio routines are explicitly 64-bit, but
there were two usages of off_t, which is a 32-bit value when compiled
in a 32-bit userspace. This causes gpt-fdisk to be unable to correctly
write partitions on a drive larger than 4GiB when compiled in a 32-bit
userspace. This change updates the two usages of off_t to off64_t,
which is explicitly 64-bit and allows the program to work as intended.
2020-08-11 14:16:19 -05:00
nl6720
db5727e311
Rename the partition type "Freedesktop $BOOT" to "XBOOTLDR partition".
...
This matches the description in the Boot Loader Specification. See also https://github.com/systemd/systemd/issues/14832 .
2020-04-11 09:56:29 +03:00
Rod Smith
cfd8d2138e
Fix minor man page typos (from Debian patch)
2020-02-26 19:12:49 -05:00
Rod Smith
6528173275
Documentation and final changes for 1.0.5 release
2020-02-17 19:00:07 -05:00
Roderick W. Smith
01725eae7d
Merge /u/morisgi/gptfdisk/ branch enhancements into master
...
https://sourceforge.net/p/gptfdisk/code/merge-requests/15/
2020-02-15 21:10:03 +00:00
Rod Smith
bbd6b4cc67
Tweaks for building on the latest XCode for macOS
2020-02-15 16:08:31 -05:00
Rod Smith
e48d850e5c
Added Container Linux and Veracrypt type codes
2020-02-13 17:58:11 -05:00
Rod Smith
61e695cca2
Update to NEWS file
2020-02-13 17:26:18 -05:00
Roderick W. Smith
d292ff36a3
Merge /u/johndemolition/gptfdisk/ branch u into master
...
https://sourceforge.net/p/gptfdisk/code/merge-requests/17/
2020-02-10 14:32:15 +00:00
Roderick W. Smith
7ffe16f062
Merge /u/geoffwilliams/gptfdisk/ branch hybrid_part_order into master
...
https://sourceforge.net/p/gptfdisk/code/merge-requests/16/
2020-02-10 14:29:43 +00:00
Roderick W. Smith
b319a6ebea
Merge /u/ffontaine35/gptfdisk/ branch master into master
...
https://sourceforge.net/p/gptfdisk/code/merge-requests/14/
2020-02-10 14:03:26 +00:00