aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoderick W. Smith <rodsmith@rodsbooks.com>2013-10-10 22:28:17 -0400
committerRoderick W. Smith <rodsmith@rodsbooks.com>2013-10-10 22:28:17 -0400
commit0fde58b966f37807260ad0dd8997e3f0c824d39c (patch)
tree097b5af0a208dfb7512343e7d1a5312c02db6d8f
parente3ee733ff8690af7568dac665bc20ecf869dea1d (diff)
downloadgptfdisk-0fde58b966f37807260ad0dd8997e3f0c824d39c.tar.gz
More partition type code changes....
-rw-r--r--NEWS9
-rw-r--r--parttypes.cc7
-rw-r--r--support.h2
3 files changed, 17 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index aa40196..d89af60 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,15 @@
0.8.8 (?/??/2013):
------------------
+- Added new type code: 933AC7E1-2EB4-4F13-B844-0E14E2AEF915, or gdisk code
+ 8302, for Linux /home partitions. This type code is used by recent
+ versions of systemd to permit /home to be auto-mounted; see
+ http://www.freedesktop.org/software/systemd/man/systemd-gpt-auto-generator.html
+ for details.
+
+- Added new type code: 9E1A2D38-C612-4316-AA26-8B49521E5A8B, or gdisk code
+ 4100, for PowerPC PReP (PowerPC reference platform) boot.
+
- The number of partition type codes has grown large enough that it fills
an 80x24 display. I've therefore added a pause (with a prompt to hit
<Enter>) to display more items after showing 21 lines in gdisk or after
diff --git a/parttypes.cc b/parttypes.cc
index bcb730e..87f5c86 100644
--- a/parttypes.cc
+++ b/parttypes.cc
@@ -90,6 +90,11 @@ void PartType::AddAllTypes(void) {
AddType(0x1c00, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 0); // Hidden FAT-32 LBA
AddType(0x1e00, "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7", "Microsoft basic data", 0); // Hidden FAT-16 LBA
AddType(0x2700, "DE94BBA4-06D1-4D40-A16A-BFD50179D6AC", "Windows RE");
+
+ // PowerPC reference platform boot partition
+ AddType(0x4100, "9E1A2D38-C612-4316-AA26-8B49521E5A8B", "PowerPC PReP boot");
+
+ // Windows LDM ("dynamic disk") types
AddType(0x4200, "AF9B60A0-1431-4F62-BC68-3311714A69AD", "Windows LDM data"); // Logical disk manager
AddType(0x4201, "5808C8AA-7E8F-42E0-85D2-E1E90434CFB3", "Windows LDM metadata"); // Logical disk manager
@@ -110,6 +115,8 @@ void PartType::AddAllTypes(void) {
AddType(0x8200, "0657FD6D-A4AB-43C4-84E5-0933C84B4F4F", "Linux swap"); // Linux swap (or Solaris on MBR)
AddType(0x8300, "0FC63DAF-8483-4772-8E79-3D69D8477DE4", "Linux filesystem"); // Linux native
AddType(0x8301, "8DA63339-0007-60C0-C436-083AC8230908", "Linux reserved");
+ // See http://www.freedesktop.org/software/systemd/man/systemd-gpt-auto-generator.html
+ AddType(0x8302, "933AC7E1-2EB4-4F13-B844-0E14E2AEF915", "Linux /home"); // Linux /home (auto-mounted by systemd)
// Used by Intel Rapid Start technology
AddType(0x8400, "D3BFE2DE-3DAF-11DF-BA40-E3A556D89593", "Intel Rapid Start");
diff --git a/support.h b/support.h
index 26bc107..cbba15b 100644
--- a/support.h
+++ b/support.h
@@ -8,7 +8,7 @@
#ifndef __GPTSUPPORT
#define __GPTSUPPORT
-#define GPTFDISK_VERSION "0.8.7.2"
+#define GPTFDISK_VERSION "0.8.7.3"
#if defined (__FreeBSD__) || defined (__FreeBSD_kernel__) || defined (__APPLE__)
// Darwin (Mac OS) & FreeBSD: disk IOCTLs are different, and there is no lseek64