Commit 8f0816db authored by Andries E. Brouwer's avatar Andries E. Brouwer Committed by Linus Torvalds

[PATCH] new Solaris partition ID

Sun tells me:

  For many years both Solaris x86 and Linux have used the same fdisk
  partition id of 0x82.  Solaris uses that identifier to allocate disk
  space which is then further subdivided by the Solaris VTOC (Volume
  Table of Contents) and Linux uses that id as the identifier for its
  swap partition.

  The new release of Solaris should be out early next year. Solaris
  will begin using a partition id of 0xbf.  We will continue to support
  the older partition id value of 0x82 for compatibility reasons.

  Solaris's fdisk program has been enhanced to allow system administrators
  to switch back and forth between the new and old identifier without any
  loss of data.

So, this may be useful to some people a few months from now.
parent 11fa4e21
...@@ -374,6 +374,7 @@ static struct { ...@@ -374,6 +374,7 @@ static struct {
{MINIX_PARTITION, parse_minix}, {MINIX_PARTITION, parse_minix},
{UNIXWARE_PARTITION, parse_unixware}, {UNIXWARE_PARTITION, parse_unixware},
{SOLARIS_X86_PARTITION, parse_solaris_x86}, {SOLARIS_X86_PARTITION, parse_solaris_x86},
{NEW_SOLARIS_X86_PARTITION, parse_solaris_x86},
{0, NULL}, {0, NULL},
}; };
......
...@@ -28,6 +28,7 @@ enum { ...@@ -28,6 +28,7 @@ enum {
LINUX_RAID_PARTITION = 0xfd, /* autodetect RAID partition */ LINUX_RAID_PARTITION = 0xfd, /* autodetect RAID partition */
SOLARIS_X86_PARTITION = LINUX_SWAP_PARTITION, SOLARIS_X86_PARTITION = LINUX_SWAP_PARTITION,
NEW_SOLARIS_X86_PARTITION = 0xbf,
DM6_AUX1PARTITION = 0x51, /* no DDO: use xlated geom */ DM6_AUX1PARTITION = 0x51, /* no DDO: use xlated geom */
DM6_AUX3PARTITION = 0x53, /* no DDO: use xlated geom */ DM6_AUX3PARTITION = 0x53, /* no DDO: use xlated geom */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment