Ignore FWB Component and Apple_Driver_ATA partition types, too.
This commit is contained in:
parent
549ecbd70a
commit
62ebaeb91b
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: disksubr.c,v 1.20 1997/10/23 14:58:49 briggs Exp $ */
|
||||
/* $NetBSD: disksubr.c,v 1.21 1997/11/26 04:14:07 briggs Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1988 Regents of the University of California.
|
||||
@ -145,6 +145,10 @@ whichType(part)
|
||||
return 0;
|
||||
if (strcmp(PART_DRIVER43_TYPE, (char *)part->pmPartType) == 0)
|
||||
return 0;
|
||||
if (strcmp(PART_DRIVERATA_TYPE, (char *)part->pmPartType) == 0)
|
||||
return 0;
|
||||
if (strcmp(PART_FWB_COMPONENT_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) {
|
||||
|
Loading…
Reference in New Issue
Block a user