summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorRoderick W. Smith <rodsmith@rodsbooks.com>2012-09-23 21:29:10 +0200
committerJim Meyering <meyering@redhat.com>2012-09-29 10:59:20 +0200
commite6536360bd4496cee1f1bf2dfb0b11f6bdbbfd4b (patch)
treec8a83ab0daf8445b52770ecd60a9d6c98918577e /NEWS
parent6499402a18baf22f08084acb289431b731d3afda (diff)
downloadparted-e6536360bd4496cee1f1bf2dfb0b11f6bdbbfd4b.tar.gz
add support for a new Linux-specific GPT partition type code
* NEWS: Describe the new Linux-specific partition type code and the new msftres flag that can be used to override this type code, should it be necessary. * doc/parted.texi: Describe of the new msftres flag. * include/parted/disk.in.h [_PedPartitionFlag]: Add PED_PARTITION_MSFT_DATA. * libparted/disk.c: Add check for PED_PARTITION_MSFT_DATA, with return of "msftdata", to ped_partition_flag_get_name() * libparted/labels/gpt.c (PARTITION_LINUX_DATA_GUID): Define. [_GPTPartitionData]: New member, "int msftdata". (_parse_part_entry): Set the msftdata flag if and only if the PARTITION_BASIC_DATA_GUID type code is in use; (gpt_partition_new): Use the PARTITION_LINUX_DATA_GUID type as the default type code (gpt_partition_set_system): Set the PARTITION_BASIC_DATA_GUID type code on partitions on which the msftdata flag is set and set PARTITION_LINUX_DATA_GUID as the type by default. Clear the msftdata flag in most tests in gpt_partition_set_flag() (gpt_partition_set_flag): Add test for PED_PARTITION_MSFT_DATA, which sets msftdata and other flags appropriately (gpt_partition_get_flag): Add test for the PED_PARTITION_MSFT_DATA item that returns the status of the msftdata flag (gpt_partition_is_flag_available): Add test for PED_PARTITION_MSFT_DATA item to * tests/t0220-gpt-msftres.sh: Accommodate the fact that now, partition table listings include "msftdata" for file systems of type NTFS and FAT*. For more discussion and justification, see http://thread.gmane.org/gmane.comp.gnu.parted.bugs/10456
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS19
1 files changed, 19 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index bab3afb..4c4716d 100644
--- a/NEWS
+++ b/NEWS
@@ -17,6 +17,25 @@ GNU parted NEWS -*- outline -*-
libparted: treat a disk with no pMBR as an msdos-labeled disk
even when it has valid GPT headers.
+** Changes in behavior
+
+ Added new Linux-specific partition GUID type code
+ (0FC63DAF-8483-4772-8E79-3D69D8477DE4) for Linux filesystem data on GPT
+ disks. This type code is now assigned as the default partition type code
+ for new partitions holding Linux filesystems.
+
+ Added new "msftdata" flag to identify partitions holding NTFS or FAT
+ filesystems on GPT disks. This flag corresponds to a GPT type code of
+ EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 ("Microsoft Basic Data"). Since
+ Linux filesystem partitions formerly used this type code, this flag may
+ optionally be set on Linux partitions to make the partition table type
+ codes match former configurations in case the new Linux filesystem type
+ code causes problems with some utility. Note that this flag cannot be
+ removed from NTFS or FAT partitions within parted except by setting a
+ competing flag, such as "boot" (which sets the type code used by EFI
+ System partitions) or "msftres" (which sets the "Microsoft Reserved" type
+ code).
+
* Noteworthy changes in release 3.1 (2012-03-02) [stable]