recognize FS_APPLEUFS partitions

part of PR #17345
This commit is contained in:
dbj 2002-09-28 01:17:09 +00:00
parent 8ccb247d47
commit 818445e944
2 changed files with 7 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: disksubr.c,v 1.45 2002/02/19 17:09:44 wiz Exp $ */
/* $NetBSD: disksubr.c,v 1.46 2002/09/28 01:17:09 dbj Exp $ */
/*
* Copyright (c) 1982, 1986, 1988 Regents of the University of California.
@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.45 2002/02/19 17:09:44 wiz Exp $");
__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.46 2002/09/28 01:17:09 dbj Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -208,6 +208,9 @@ readdisklabel(dev, strat, lp, osdep)
if (dp->mbrp_typ == MBR_PTYPE_NTFS)
pp->p_fstype = FS_NTFS;
if (dp->mbrp_typ == MBR_PTYPE_APPLEUFS)
pp->p_fstype = FS_APPLEUFS;
/* is this ours? */
if (dp == ourdp) {
/* need sector address for SCSI/IDE,

View File

@ -1,4 +1,4 @@
/* $NetBSD: disksubr.c,v 1.24 2002/09/10 11:31:10 dbj Exp $ */
/* $NetBSD: disksubr.c,v 1.25 2002/09/28 01:17:10 dbj Exp $ */
/*
* Copyright (c) 1982, 1986, 1988 Regents of the University of California.
@ -233,7 +233,7 @@ whichType(struct part_map_entry *part, u_int8_t *fstype, int *clust)
*fstype = FS_HFS;
} else if (strcmp(PART_TYPE_APPLEUFS, typestr) == 0) {
type = SCRATCH_PART;
*fstype = FS_OTHER;
*fstype = FS_APPLEUFS;
} else if (strcmp(PART_TYPE_LINUX, typestr) == 0) {
type = SCRATCH_PART;
*fstype = FS_OTHER;