summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1998-11-13 04:12:35 +0000
committerthorpej <thorpej@NetBSD.org>1998-11-13 04:12:35 +0000
commit2f3f9379cfed3a9fe43d85cda884279e48643d9e (patch)
tree94111bbaaab43701e7b7f0e22a5e6f98dade5706 /sys
parent08af05f92995039d15c9b4c96a947ba6c7d873f8 (diff)
Add a couple more file systems to mountcompatnames[] (even though they
didn't exist in 4.3BSD or NetBSD 0.9) and always put the table into the kernel. It's going to be needed for VFS sysctls.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/vfs_syscalls.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index 74997c60721..979cd9a0e19 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_syscalls.c,v 1.123 1998/08/04 04:03:20 perry Exp $ */
+/* $NetBSD: vfs_syscalls.c,v 1.124 1998/11/13 04:12:35 thorpej Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -85,10 +85,12 @@ int dounmount __P((struct mount *, int, struct proc *));
* Mount a file system.
*/
-#if defined(COMPAT_09) || defined(COMPAT_43) || defined(COMPAT_44)
/*
* This table is used to maintain compatibility with 4.3BSD
* and NetBSD 0.9 mount syscalls. Note, the order is important!
+ *
+ * Also note that not all of these had actual numbers in 4.3BSD
+ * or NetBSD 0.9!
*/
const char *mountcompatnames[] = {
NULL, /* 0 = MOUNT_NONE */
@@ -109,10 +111,11 @@ const char *mountcompatnames[] = {
MOUNT_UNION, /* 15 */
MOUNT_ADOSFS, /* 16 */
MOUNT_EXT2FS, /* 17 */
+ MOUNT_CODA, /* 18 */
+ MOUNT_FILECORE, /* 19 */
};
const int nmountcompatnames = sizeof(mountcompatnames) /
sizeof(mountcompatnames[0]);
-#endif /* COMPAT_09 || COMPAT_43 */
/* ARGSUSED */
int