summaryrefslogtreecommitdiff
path: root/gptpart.cc
Commit message (Collapse)AuthorAgeFilesLines
* Patch set from Bin Meng to clean up some code & support building sgdisk for ↵Rod Smith2022-04-101-6/+5
| | | | Windows
* Add ability to reverse byte order of partition names to gdisk and sgdiskRod Smith2021-06-081-3/+7
|
* 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.
* 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.
* Create a constant unusedPartType object instead of recreating it each timeGilles Moris2019-05-151-2/+2
|
* gdisk: use previous code when changing partition type to be idempotent like ↵Gilles Moris2019-05-151-2/+2
| | | | cgdisk
* gdisk: show also previous type as cgdisk does when changing partition typeGilles Moris2019-05-151-1/+1
|
* Added explicit copy constructors and made other tweaks to avoidRod Smith2018-07-051-0/+9
| | | | compiler complaints.
* Added search/filter feature to "L" function to display partition typeRod Smith2018-07-051-1/+1
| | | | codes.
* Fixes for minor typos and trivial bugs.Roderick W. Smith2014-03-291-1/+1
|
* Refinements to new treatment of hybrid MBR and MBR conversions thatRoderick W. Smith2014-02-221-2/+10
| | | | span the 2TiB boundary.
* Fixed new bug with hybrid MBR creation in gdisk; couldn't do more thanRoderick W. Smith2014-02-201-0/+5
| | | | one partition because of sscanf weirdness.
* Removed libicu dependency for UTF-16 partition names. Version 0.8.9Roderick W. Smith2014-02-171-28/+175
| | | | release.
* Removed 0x8302 type code, since the Red Hat parted developers haveRoderick W. Smith2013-09-241-1/+1
| | | | decided against using it.
* Fix error in gdisk man page.Roderick W. Smith2013-08-061-3/+3
|
* New partition type codes & "-a" option for cgdiskRoderick W. Smith2013-07-061-1/+0
|
* Change to alignment code in sgdisk.srs56942013-02-141-1/+0
|
* 0.8.6 release.srs56942013-01-091-2/+2
|
* Added partition type codes; new verification check.srs56942012-12-151-1/+2
|
* Fixes related to handling of GPTs created under Solarissrs56942012-01-201-1/+2
|
* 0.7.2 release, includes new Linux type code & true GUID generation insrs56942011-06-261-11/+13
| | | | Windows
* 0.7.1 release versionsrs56942011-03-211-53/+53
|
* Preliminary UTF-16LE support for GPT descriptionssrs56942011-03-171-29/+63
|
* A few miscellaneous changessrs56942011-03-161-1/+0
|
* Second patchset from Florian & a few other small changessrs56942011-03-151-8/+9
|
* Patches supplied by Florian Zumbiehlsrs56942011-03-151-1/+14
|
* Version 0.7.0srs56942011-03-121-11/+4
|
* Misc. bug fixes & restructuring.srs56942011-03-011-46/+28
|
* Version 0.6.12 release; mostly changes in support for disks with othersrs56942010-10-071-5/+5
| | | | than 512-byte sectors.
* Final 0.6.11 version; only trivial changessrs56942010-09-251-1/+1
|
* Added -F option to sgdisksrs56942010-09-241-2/+2
|
* Further refinements to GUID type code entry.srs56942010-09-221-14/+14
|
* Updated project files for 0.6.5 release version.srs56942010-03-071-3/+9
|
* Version 0.6.4srs56942010-02-191-33/+6
|
* A few minor bug fixes; backup function now accepts dd output of MBR,srs56942010-02-111-2/+3
| | | | | main header, and main partition table, as well as gdisk-generated backups.
* Version 0.6.3 release. Big-endian bug fix, new GUID generation method,srs56942010-02-041-52/+41
| | | | architectural changes.
* Final 0.6.2 release; misc. bug fixes & Windows versionsrs56942010-01-291-3/+1
|
* Nearing 0.6.2 release; Windows version now works.srs56942010-01-281-100/+113
|
* Misc. updates and bug fixessrs56942010-01-271-55/+56
|
* New files to support disk I/O restructuring and (currently broken)srs56942010-01-261-16/+25
| | | | Windows version.
* sgdisk program, misc. bug fixessrs56942010-01-121-2/+1
|
* Version 0.5.3 changes. Minor bug fixes & detection of the number ofsrs56942010-01-031-2/+4
| | | | logical sectors per physical sector on Linux 2.6.32 and above.
* GPT fdisk 0.5.0srs56942009-09-211-6/+10
| | | | | | Added several features, including a restructuring of the menu system, GPT-to-MBR conversion, and the ability to re-read the MBR to generate a fresh GPT from the current on-disk MBR.
* Updates for version 0.4.2srs56942009-09-141-0/+1
| | | | | New feature: Ability to edit disk images. Several small bug fixes and feature enhancements (see CHANGELOG).
* Added new filessrs56942009-08-291-0/+274