Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/i386 recognize ntfs mbr fsid



details:   https://anonhg.NetBSD.org/src/rev/d6c7a8126d32
branches:  trunk
changeset: 472759:d6c7a8126d32
user:      christos <christos%NetBSD.org@localhost>
date:      Thu May 06 15:45:51 1999 +0000

description:
recognize ntfs mbr fsid

diffstat:

 sys/arch/i386/i386/disksubr.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r cfcab71b4cd0 -r d6c7a8126d32 sys/arch/i386/i386/disksubr.c
--- a/sys/arch/i386/i386/disksubr.c     Thu May 06 15:43:17 1999 +0000
+++ b/sys/arch/i386/i386/disksubr.c     Thu May 06 15:45:51 1999 +0000
@@ -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 @@
                        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,



Home | Main Index | Thread Index | Old Index