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 type for CGD.



details:   https://anonhg.NetBSD.org/src/rev/26274b1852af
branches:  trunk
changeset: 537684:26274b1852af
user:      elric <elric%NetBSD.org@localhost>
date:      Fri Oct 04 18:26:31 2002 +0000

description:
Add a type for CGD.

diffstat:

 sys/sys/disklabel.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r dcd719451446 -r 26274b1852af sys/sys/disklabel.h
--- a/sys/sys/disklabel.h       Fri Oct 04 18:25:51 2002 +0000
+++ b/sys/sys/disklabel.h       Fri Oct 04 18:26:31 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disklabel.h,v 1.76 2002/09/28 20:11:08 dbj Exp $       */
+/*     $NetBSD: disklabel.h,v 1.77 2002/10/04 18:26:31 elric Exp $     */
 
 /*
  * Copyright (c) 1987, 1988, 1993
@@ -283,6 +283,7 @@
 #define        DTYPE_RAID              14              /* RAIDframe */
 #define        DTYPE_LD                15              /* logical disk */
 #define        DTYPE_JFS2              16              /* IBM JFS2 */
+#define DTYPE_CGD              17              /* cryptographic pseudo-disk */
 
 #ifdef DKTYPENAMES
 static const char *const dktypenames[] = {
@@ -303,6 +304,7 @@
        "RAID",
        "ld",
        "jfs",
+       "cgd",
        NULL
 };
 #define DKMAXTYPES     (sizeof(dktypenames) / sizeof(dktypenames[0]) - 1)



Home | Main Index | Thread Index | Old Index