Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 2014 06:04:45 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r272933 - stable/10/sys/boot/common
Message-ID:  <201410110604.s9B64j1q059532@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Sat Oct 11 06:04:44 2014
New Revision: 272933
URL: https://svnweb.freebsd.org/changeset/base/272933

Log:
  MFC r272487:
    Add UUID of FreeBSD slice to GPT scheme.

Modified:
  stable/10/sys/boot/common/part.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/boot/common/part.c
==============================================================================
--- stable/10/sys/boot/common/part.c	Sat Oct 11 05:18:22 2014	(r272932)
+++ stable/10/sys/boot/common/part.c	Sat Oct 11 06:04:44 2014	(r272933)
@@ -53,6 +53,7 @@ static const uuid_t gpt_uuid_unused = GP
 static const uuid_t gpt_uuid_ms_basic_data = GPT_ENT_TYPE_MS_BASIC_DATA;
 static const uuid_t gpt_uuid_freebsd_ufs = GPT_ENT_TYPE_FREEBSD_UFS;
 static const uuid_t gpt_uuid_efi = GPT_ENT_TYPE_EFI;
+static const uuid_t gpt_uuid_freebsd = GPT_ENT_TYPE_FREEBSD;
 static const uuid_t gpt_uuid_freebsd_boot = GPT_ENT_TYPE_FREEBSD_BOOT;
 static const uuid_t gpt_uuid_freebsd_nandfs = GPT_ENT_TYPE_FREEBSD_NANDFS;
 static const uuid_t gpt_uuid_freebsd_swap = GPT_ENT_TYPE_FREEBSD_SWAP;
@@ -139,6 +140,8 @@ gpt_parttype(uuid_t type)
 		return (PART_FREEBSD_VINUM);
 	else if (uuid_equal(&type, &gpt_uuid_freebsd_nandfs, NULL))
 		return (PART_FREEBSD_NANDFS);
+	else if (uuid_equal(&type, &gpt_uuid_freebsd, NULL))
+		return (PART_FREEBSD);
 	return (PART_UNKNOWN);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410110604.s9B64j1q059532>