recognize ntfs mbr fsid
This commit is contained in:
parent
d9a25d1815
commit
0c7931917a
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: disksubr.c,v 1.39 1999/01/27 21:20:18 thorpej Exp $ */
|
||||
/* $NetBSD: disksubr.c,v 1.40 1999/05/06 15:45:51 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1988 Regents of the University of California.
|
||||
|
@ -204,6 +204,9 @@ readdisklabel(dev, strat, lp, osdep)
|
|||
if (dp->mbrp_typ == MBR_PTYPE_LNXEXT2)
|
||||
pp->p_fstype = FS_EX2FS;
|
||||
|
||||
if (dp->mbrp_typ == MBR_PTYPE_NTFS)
|
||||
pp->p_fstype = FS_NTFS;
|
||||
|
||||
/* is this ours? */
|
||||
if (dp == ourdp) {
|
||||
/* need sector address for SCSI/IDE,
|
||||
|
|
Loading…
Reference in New Issue