summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Minor code cleanup based on valgrind analysisHEADmasterRod Smith2023-03-102-0/+3
|
* Document previous mergeRod Smith2023-03-062-1/+8
|
* Truncate decimal inputs (e.g., '9.5G' becomes '9G')Rod Smith2023-03-061-1/+11
|
* Do some explicit casts in gptcurses.cc to eliminate compiler warnings.Rod Smith2023-03-062-6/+10
|
* Document recent mergestRod Smith2023-03-052-3/+11
|
* Merge /u/djsp/gptfdisk/ branch fix-largest-new into masterb'Roderick W. Smith2023-03-051-1/+3
|\ | | | | | | https://sourceforge.net/p/gptfdisk/code/merge-requests/31/
| * Allow partition dynamically allocated by --largest-new to be referenced by ↵David Joaquín Shourabi Porcel2023-01-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | other options The documentation for the option --new explains that: > [a] partnum value of 0 causes the program to use the first available > partition number. Subsequent uses of the -A (--attributes), -c > (--change-name), -t (--typecode), and -u (--partition-guid) options > may also use 0 to refer to the same partition. Although the documentation for the option --largest-new does not mention such functionality, I expected it, and was puzzled when it didn't work.
* | Merge /u/khemraj/gptfdisk/ branch master into masterb'Roderick W. Smith2023-03-051-1/+5
|\ \ | | | | | | | | | https://sourceforge.net/p/gptfdisk/code/merge-requests/29/
| * | Use 64bit time_t on linux as wellKhem Raj2022-12-121-1/+5
| |/ | | | | | | | | | | | | Alias 64bit version of stat functions to original functions we are already passing -D_FILE_OFFSET_BITS=64 in linux Makefile Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | Document recent merge.Rod Smith2023-03-051-1/+3
| |
* | Fix NULL dereference when duplicating string argumentDamian Kurek2022-07-071-2/+4
|/ | | | | poptGetArg can return NULL if there are no additional arguments, which makes strdup dereference NULL on strlen
* Updated URLs in man pages to HTTPS rather than HTTPRod Smith2022-04-264-14/+14
|
* Updated guid.cc to deal with minor change in libuuidRod Smith2022-04-162-1/+3
|
* Fix failure & crash of sgdisk when compiled with latest popt (commit 740; ↵Rod Smith2022-04-153-2/+10
| | | | presumably eventually release 1.19)
* GPT fdisk version 1.0.9Rod Smith2022-04-149-17/+18
|
* Added several new partition type codesRod Smith2022-04-122-0/+49
|
* Introduction of unified (multi-OS) MakefileRod Smith2022-04-125-36/+233
| | | | Forgot something!
* Fix bug that caused cgdisk to report incorrect partition attributes.Rod Smith2022-04-102-1/+3
|
* Fix valgrind complaintRod Smith2022-04-101-0/+2
|
* Updated NEWS file for recent merges.Rod Smith2022-04-101-0/+7
|
* Abort load of too-small disk imageRod Smith2022-04-101-1/+9
|
* Fix build problem with recent ncurses versionsRod Smith2022-04-101-11/+11
|
* Patch set from Bin Meng to clean up some code & support building sgdisk for ↵Rod Smith2022-04-1025-204/+225
| | | | Windows
* Add end-alignment feature.Rod Smith2022-01-2913-74/+141
|
* Removed another stray debugging messageRod Smith2021-10-091-1/+0
|
* Remove stray debugging codeRod Smith2021-10-092-1/+6
|
* Version 1.0.8 releaseRod Smith2021-06-097-11/+11
|
* Added type code for Barebox boot loaderRod Smith2021-06-092-0/+6
|
* Expand some options in sgdisk man page.Rod Smith2021-06-091-1/+2
|
* Add ability to reverse byte order of partition names to gdisk and sgdiskRod Smith2021-06-088-4/+66
|
* Added info to NEWS about latest commits.Rod Smith2021-06-081-0/+8
|
* gptpart.cc: Remove byteswap commands in GPTPart::SetName(const string&).Erik Larsson2021-06-081-3/+0
| | | | | | | | | | | | | | | | | 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&).
* gptpart.cc: Minor fix to end comment of GPTPart::ReversePartBytes(void).Erik Larsson2021-06-081-1/+1
| | | | | The end comment was confusingly saying ReverseBytes instead of ReversePartBytes.
* Updated e-mail address for contributor Dwight SchauerRod Smith2021-05-025-5/+5
|
* Code cleanup based on 'infer' suggestions; mostly just dead stores.Rod Smith2021-03-177-16/+13
| | | | One forgotten change
* Version 1.0.7 releaseRod Smith2021-03-106-9/+9
|
* Three new type codesRod Smith2021-03-102-1/+10
|
* Adjusted documentation & Makefile.mac for new ARM64 support under macOSRod Smith2021-03-083-36/+47
|
* gptpart.cc: Fix double byteswap for big-endian architectures.Erik Larsson2021-03-071-1/+0
| | | | | | 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.
* Fix spurious warnings of problems on MBR disksRod Smith2021-02-013-6/+21
|
* Version 1.0.6 releaseRod Smith2021-01-134-8/+13
|
* Adjust position of multiple-inclusion protection in .h filesRod Smith2021-01-139-24/+28
|
* update NEWSRod Smith2021-01-131-1/+4
|
* Fix bug that could cause crash if a badly-formatted MBR disk was read.Rod Smith2021-01-131-1/+2
|
* Update version number and dates prior to 1.0.6 release.Rod Smith2021-01-137-14/+20
|
* Merge /u/aaronbamberger/gptfdisk/ branch master into masterRoderick W. Smith2021-01-131-2/+2
|\ | | | | | | https://sourceforge.net/p/gptfdisk/code/merge-requests/23/
| * Fix missing 64-bit offset types in diskio-unixAaron Bamberger2020-08-111-2/+2
| | | | | | | | | | | | | | | | | | 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.
* | Add Linux /usr and /usr verity partition typesnl67202021-01-131-0/+10
| | | | | | | | See https://systemd.io/DISCOVERABLE_PARTITIONS/ and https://github.com/systemd/systemd/pull/17101 .
* | Add systemd-homed user's home partition typenl67202021-01-131-0/+2
| | | | | | | | See https://systemd.io/HOME_DIRECTORY/ .
* | Update NEWS fileRod Smith2021-01-121-1/+3
| |