summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1999-04-19 04:48:03 +0000
committerJason Downs <downsj@cvs.openbsd.org>1999-04-19 04:48:03 +0000
commitceeea9550c9fbbe276aa162a3e98d0bff6c40e70 (patch)
tree5ef8eb21ae22868a8a2518fd44d3e13d9a2b1791 /sys
parent86ce2fe346f625fbca6d4da2557e094646653a9c (diff)
Consider the other SVR2 partitions as BSDFFS, too.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mac68k/mac68k/disksubr.c7
-rw-r--r--sys/arch/mac68k/mac68k/dpme.h5
2 files changed, 9 insertions, 3 deletions
diff --git a/sys/arch/mac68k/mac68k/disksubr.c b/sys/arch/mac68k/mac68k/disksubr.c
index b4831609618..aac05f3cc0f 100644
--- a/sys/arch/mac68k/mac68k/disksubr.c
+++ b/sys/arch/mac68k/mac68k/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.10 1999/01/08 04:29:07 millert Exp $ */
+/* $OpenBSD: disksubr.c,v 1.11 1999/04/19 04:48:02 downsj Exp $ */
/* $NetBSD: disksubr.c,v 1.22 1997/11/26 04:18:20 briggs Exp $ */
/*
@@ -161,7 +161,10 @@ whichType(part)
if (bzb->bzbFlags & BZB_ROOTFS)
return ROOT_PART;
- if (bzb->bzbFlags & BZB_USRFS)
+ if ((bzb->bzbFlags & BZB_USRFS)
+ || (bzb->bzbFlags & BZB_EXFS4)
+ || (bzb->bzbFlags & BZB_EXFS5)
+ || (bzb->bzbFlags & BZB_EXFS6))
return UFS_PART;
if (bzb->bzbType == BZB_TYPESWAP)
diff --git a/sys/arch/mac68k/mac68k/dpme.h b/sys/arch/mac68k/mac68k/dpme.h
index 6eb3aed6042..fb56b3bc8e8 100644
--- a/sys/arch/mac68k/mac68k/dpme.h
+++ b/sys/arch/mac68k/mac68k/dpme.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dpme.h,v 1.5 1998/02/14 07:01:07 gene Exp $ */
+/* $OpenBSD: dpme.h,v 1.6 1999/04/19 04:48:02 downsj Exp $ */
/* $NetBSD: dpme.h,v 1.8 1997/11/30 04:46:59 briggs Exp $ */
/*
@@ -90,6 +90,9 @@ struct blockzeroblock {
#define BZB_TYPESWAP 3
#define BZB_ROOTFS 0x8000
#define BZB_USRFS 0x4000
+#define BZB_EXFS4 0x4
+#define BZB_EXFS5 0x5
+#define BZB_EXFS6 0x6
/* MF */
#define PART_UNIX_TYPE "APPLE_UNIX_SVR2"