Source-Changes-HG archive

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

[src/trunk]: src/sys/sys Correct NTFS entry from 87 to 7, and make 87 be NTFS...



details:   https://anonhg.NetBSD.org/src/rev/1f1e11280d1c
branches:  trunk
changeset: 472754:1f1e11280d1c
user:      christos <christos%NetBSD.org@localhost>
date:      Thu May 06 15:28:27 1999 +0000

description:
Correct NTFS entry from 87 to 7, and make 87 be NTFS volume set (from fdisk.c)

diffstat:

 sys/sys/disklabel_mbr.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 4efb7ab0b74e -r 1f1e11280d1c sys/sys/disklabel_mbr.h
--- a/sys/sys/disklabel_mbr.h   Thu May 06 14:29:21 1999 +0000
+++ b/sys/sys/disklabel_mbr.h   Thu May 06 15:28:27 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disklabel_mbr.h,v 1.3 1999/03/28 20:01:52 fvdl Exp $   */
+/*     $NetBSD: disklabel_mbr.h,v 1.4 1999/05/06 15:28:27 christos Exp $       */
 
 /*
  * Copyright (c) 1994, 1998 Christopher G. Demetriou
@@ -69,13 +69,14 @@
 #define        MBR_PTYPE_FAT16S        0x04    /* 16-bit FAT, less than 32M */
 #define        MBR_PTYPE_EXT           0x05    /* extended partition */
 #define        MBR_PTYPE_FAT16B        0x06    /* 16-bit FAT, more than 32M */
+#define        MBR_PTYPE_NTFS          0x07    /* OS/2 HPFS, NTFS, QNX2, Adv. UNIX */
 #define        MBR_PTYPE_FAT32         0x0b    /* 32-bit FAT */
 #define        MBR_PTYPE_FAT32L        0x0c    /* 32-bit FAT, LBA-mapped */
 #define        MBR_PTYPE_FAT16L        0x0e    /* 16-bit FAT, LBA-mapped */
 #define        MBR_PTYPE_EXT_LBA       0x0f    /* extended partition, LBA-mapped */
 #define MBR_PTYPE_LNXSWAP      0x82    /* Linux swap or Solaris */
 #define        MBR_PTYPE_LNXEXT2       0x83    /* Linux native */
-#define MBR_PTYPE_NTFS         0x87    /* Windows NT filesystem */
+#define MBR_PTYPE_NTFSVOL      0x87    /* NTFS volume set or HPFS mirrored */
 
 /* Isolate the relevant bits to get sector and cylinder. */
 #define        MBR_PSECT(s)    ((s) & 0x3f)



Home | Main Index | Thread Index | Old Index