Ignore partitions of type Apple_Driver43 when filling the fake disklabel.

This commit is contained in:
briggs 1997-10-10 04:01:02 +00:00
parent b979def939
commit 71a2747c66
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: disksubr.c,v 1.17 1997/08/11 22:53:45 scottr Exp $ */
/* $NetBSD: disksubr.c,v 1.18 1997/10/10 04:01:02 briggs Exp $ */
/*
* Copyright (c) 1982, 1986, 1988 Regents of the University of California.
@ -143,6 +143,8 @@ whichType(part)
if (strcmp(PART_DRIVER_TYPE, (char *)part->pmPartType) == 0)
return 0;
if (strcmp(PART_DRIVER43_TYPE, (char *)part->pmPartType) == 0)
return 0;
if (strcmp(PART_PARTMAP_TYPE, (char *)part->pmPartType) == 0)
return 0;
if (strcmp(PART_UNIX_TYPE, (char *)part->pmPartType) == 0) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: dpme.h,v 1.6 1996/06/23 15:30:51 briggs Exp $ */
/* $NetBSD: dpme.h,v 1.7 1997/10/10 04:01:06 briggs Exp $ */
/*-
* Copyright (C) 1993 Allen K. Briggs, Chris P. Caputo,
@ -95,4 +95,5 @@ struct blockzeroblock {
#define PART_MAC_TYPE "APPLE_HFS"
#define PART_SCRATCH "APPLE_SCRATCH"
#define PART_DRIVER_TYPE "APPLE_DRIVER"
#define PART_DRIVER43_TYPE "APPLE_DRIVER43"
#define PART_PARTMAP_TYPE "APPLE_PARTITION_MAP"