Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Add a few MBR types.
details: https://anonhg.NetBSD.org/src/rev/f377ad488b5c
branches: trunk
changeset: 467759:f377ad488b5c
user: fvdl <fvdl%NetBSD.org@localhost>
date: Sun Mar 28 20:01:52 1999 +0000
description:
Add a few MBR types.
diffstat:
sys/sys/disklabel_mbr.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 2c7358f6826e -r f377ad488b5c sys/sys/disklabel_mbr.h
--- a/sys/sys/disklabel_mbr.h Sun Mar 28 19:55:51 1999 +0000
+++ b/sys/sys/disklabel_mbr.h Sun Mar 28 20:01:52 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disklabel_mbr.h,v 1.2 1999/01/27 21:12:22 thorpej Exp $ */
+/* $NetBSD: disklabel_mbr.h,v 1.3 1999/03/28 20:01:52 fvdl Exp $ */
/*
* Copyright (c) 1994, 1998 Christopher G. Demetriou
@@ -73,7 +73,9 @@
#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 */
/* Isolate the relevant bits to get sector and cylinder. */
#define MBR_PSECT(s) ((s) & 0x3f)
Home |
Main Index |
Thread Index |
Old Index