Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys Add NTFS related constants.
details: https://anonhg.NetBSD.org/src/rev/edb81daa22da
branches: trunk
changeset: 472755:edb81daa22da
user: christos <christos%NetBSD.org@localhost>
date: Thu May 06 15:29:23 1999 +0000
description:
Add NTFS related constants.
diffstat:
sys/sys/disklabel.h | 5 ++++-
sys/sys/mount.h | 3 ++-
sys/sys/vnode.h | 4 ++--
3 files changed, 8 insertions(+), 4 deletions(-)
diffs (68 lines):
diff -r 1f1e11280d1c -r edb81daa22da sys/sys/disklabel.h
--- a/sys/sys/disklabel.h Thu May 06 15:28:27 1999 +0000
+++ b/sys/sys/disklabel.h Thu May 06 15:29:23 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disklabel.h,v 1.51 1999/01/19 06:24:09 abs Exp $ */
+/* $NetBSD: disklabel.h,v 1.52 1999/05/06 15:29:23 christos Exp $ */
/*
* Copyright (c) 1987, 1988, 1993
@@ -237,6 +237,7 @@
#define FS_HFS 15 /* Macintosh HFS */
#define FS_FILECORE 16 /* Acorn Filecore Filing System */
#define FS_EX2FS 17 /* Linux Extended 2 file system */
+#define FS_NTFS 18 /* Windows/NT file system */
#ifdef FSTYPENAMES
static const char *const fstypenames[] = {
@@ -258,6 +259,7 @@
"HFS",
"FILECORE",
"Linux Ext2",
+ "NTFS",
NULL
};
#define FSMAXTYPES (sizeof(fstypenames) / sizeof(fstypenames[0]) - 1)
@@ -284,6 +286,7 @@
NULL, /* HFS */
NULL, /* FILECORE */
"ext2fs", /* Linux Ext2 */
+ "ntfs", /* Windows/NT */
NULL /* NULL */
};
#define FSMAXNAMES (sizeof(fscknames) / sizeof(fscknames[0]) - 1)
diff -r 1f1e11280d1c -r edb81daa22da sys/sys/mount.h
--- a/sys/sys/mount.h Thu May 06 15:28:27 1999 +0000
+++ b/sys/sys/mount.h Thu May 06 15:29:23 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mount.h,v 1.74 1999/03/25 05:06:32 sommerfe Exp $ */
+/* $NetBSD: mount.h,v 1.75 1999/05/06 15:29:23 christos Exp $ */
/*
* Copyright (c) 1989, 1991, 1993
@@ -106,6 +106,7 @@
#define MOUNT_CFS "coda" /* Coda Filesystem */
#define MOUNT_CODA "coda" /* Coda Filesystem */
#define MOUNT_FILECORE "filecore" /* Acorn Filecore Filesystem */
+#define MOUNT_NTFS "ntfs" /* Windows/NT Filesystem */
/*
* Structure per mounted file system. Each mounted file system has an
diff -r 1f1e11280d1c -r edb81daa22da sys/sys/vnode.h
--- a/sys/sys/vnode.h Thu May 06 15:28:27 1999 +0000
+++ b/sys/sys/vnode.h Thu May 06 15:29:23 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vnode.h,v 1.59 1999/03/24 05:51:29 mrg Exp $ */
+/* $NetBSD: vnode.h,v 1.60 1999/05/06 15:29:26 christos Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -67,7 +67,7 @@
enum vtagtype {
VT_NON, VT_UFS, VT_NFS, VT_MFS, VT_MSDOSFS, VT_LFS, VT_LOFS, VT_FDESC,
VT_PORTAL, VT_NULL, VT_UMAP, VT_KERNFS, VT_PROCFS, VT_AFS, VT_ISOFS,
- VT_UNION, VT_ADOSFS, VT_EXT2FS, VT_CODA, VT_FILECORE
+ VT_UNION, VT_ADOSFS, VT_EXT2FS, VT_CODA, VT_FILECORE, VT_NTFS
};
/*
Home |
Main Index |
Thread Index |
Old Index