Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Add the GPT Protective MBR partition type. Sort MBR...
details: https://anonhg.NetBSD.org/src/rev/f3097b3ec2cc
branches: trunk
changeset: 569842:f3097b3ec2cc
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu Sep 09 04:19:38 2004 +0000
description:
Add the GPT Protective MBR partition type. Sort MBR ptype constants.
diffstat:
sys/sys/bootblock.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r dff672554e1f -r f3097b3ec2cc sys/sys/bootblock.h
--- a/sys/sys/bootblock.h Thu Sep 09 01:40:13 2004 +0000
+++ b/sys/sys/bootblock.h Thu Sep 09 04:19:38 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bootblock.h,v 1.29 2004/08/15 21:02:28 dsl Exp $ */
+/* $NetBSD: bootblock.h,v 1.30 2004/09/09 04:19:38 thorpej Exp $ */
/*-
* Copyright (c) 2002-2004 The NetBSD Foundation, Inc.
@@ -224,16 +224,17 @@
#define MBR_PTYPE_FAT32L 0x0c /* 32-bit FAT, LBA-mapped */
#define MBR_PTYPE_FAT16L 0x0e /* 16-bit FAT, LBA-mapped */
#define MBR_PTYPE_EXT_LBA 0x0f /* extended partition, LBA-mapped */
+#define MBR_PTYPE_PREP 0x41 /* PReP */
#define MBR_PTYPE_ONTRACK 0x54
#define MBR_PTYPE_LNXSWAP 0x82 /* Linux swap or Solaris */
#define MBR_PTYPE_LNXEXT2 0x83 /* Linux native */
#define MBR_PTYPE_EXT_LNX 0x85 /* Linux extended partition */
#define MBR_PTYPE_NTFSVOL 0x87 /* NTFS volume set or HPFS mirrored */
-#define MBR_PTYPE_PREP 0x41 /* PReP */
#define MBR_PTYPE_386BSD 0xa5 /* 386BSD partition type */
#define MBR_PTYPE_APPLEUFS 0xa8 /* Apple UFS */
#define MBR_PTYPE_NETBSD 0xa9 /* NetBSD partition type */
#define MBR_PTYPE_OPENBSD 0xa6 /* OpenBSD partition type */
+#define MBR_PTYPE_PMBR 0xee /* GPT Protective MBR */
#define MBR_PSECT(s) ((s) & 0x3f)
#define MBR_PCYL(c, s) ((c) + (((s) & 0xc0) << 2))
Home |
Main Index |
Thread Index |
Old Index