Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/macppc/include added defines for new partition type...



details:   https://anonhg.NetBSD.org/src/rev/9731aa500e77
branches:  trunk
changeset: 536170:9731aa500e77
user:      dbj <dbj%NetBSD.org@localhost>
date:      Tue Sep 10 11:28:56 2002 +0000

description:
added defines for new partition types found in the wild:
  "Apple_UFS"
  "Apple_Boot"
  "Apple_Loader"
  "Linux"
  "Linux_swap"
removed duplicate define for "Apple_Patches"

diffstat:

 sys/arch/macppc/include/disklabel.h |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r c8cb5b889679 -r 9731aa500e77 sys/arch/macppc/include/disklabel.h
--- a/sys/arch/macppc/include/disklabel.h       Tue Sep 10 11:11:44 2002 +0000
+++ b/sys/arch/macppc/include/disklabel.h       Tue Sep 10 11:28:56 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disklabel.h,v 1.9 2002/06/19 03:10:57 itojun Exp $     */
+/*     $NetBSD: disklabel.h,v 1.10 2002/09/10 11:28:56 dbj Exp $       */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -182,14 +182,18 @@
 #define PART_TYPE_FWB_COMPONENT        "FWB DRIVER COMPONENTS"
 #define PART_TYPE_FREE         "APPLE_FREE"
 #define PART_TYPE_MAC          "APPLE_HFS"
+#define PART_TYPE_APPLEUFS     "APPLE_UFS"
 #define PART_TYPE_NETBSD       "NETBSD"
 #define PART_TYPE_NBSD_PPCBOOT "NETBSD/MACPPC"
 #define PART_TYPE_NBSD_68KBOOT "NETBSD/MAC68K"
 #define PART_TYPE_PATCHES      "APPLE_PATCHES"
 #define PART_TYPE_PARTMAP      "APPLE_PARTITION_MAP"
-#define PART_TYPE_PATCHES      "APPLE_PATCHES"
 #define PART_TYPE_SCRATCH      "APPLE_SCRATCH"
+#define PART_TYPE_BOOT         "APPLE_BOOT"
+#define PART_TYPE_LOADER       "APPLE_LOADER"
 #define PART_TYPE_UNIX         "APPLE_UNIX_SVR2"
+#define PART_TYPE_LINUX        "LINUX"
+#define PART_TYPE_LINUX_SWAP   "LINUX_SWAP"
 
 /*
  * "pmBootArgs" for APPLE_UNIX_SVR2 partition.



Home | Main Index | Thread Index | Old Index