summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2004-11-13 07:19:27 +0000
committerchristos <christos@NetBSD.org>2004-11-13 07:19:27 +0000
commit44264ea2a6c982d4c477205fceba0d5fcffe9edb (patch)
tree80efb734898de90a5e21f88421df9121d196db37 /sys/compat/linux
parentd5b128a7286c7f846b55153a9d67620865bf54f3 (diff)
Add ptyfs magic number and entry.
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/common/linux_misc.c7
-rw-r--r--sys/compat/linux/common/linux_misc.h3
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/compat/linux/common/linux_misc.c b/sys/compat/linux/common/linux_misc.c
index 792a07e459e..0c617766b8f 100644
--- a/sys/compat/linux/common/linux_misc.c
+++ b/sys/compat/linux/common/linux_misc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_misc.c,v 1.133 2004/10/07 19:30:28 erh Exp $ */
+/* $NetBSD: linux_misc.c,v 1.134 2004/11/13 07:19:27 christos Exp $ */
/*-
* Copyright (c) 1995, 1998, 1999 The NetBSD Foundation, Inc.
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.133 2004/10/07 19:30:28 erh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.134 2004/11/13 07:19:27 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -154,7 +154,8 @@ const struct linux_mnttypes linux_fstypes[] = {
{ MOUNT_CODA, LINUX_CODA_SUPER_MAGIC },
{ MOUNT_FILECORE, LINUX_DEFAULT_SUPER_MAGIC },
{ MOUNT_NTFS, LINUX_DEFAULT_SUPER_MAGIC },
- { MOUNT_SMBFS, LINUX_SMB_SUPER_MAGIC }
+ { MOUNT_SMBFS, LINUX_SMB_SUPER_MAGIC },
+ { MOUNT_PTYFS, LINUX_DEVPTS_SUPER_MAGIC }
};
const int linux_fstypes_cnt = sizeof(linux_fstypes) / sizeof(linux_fstypes[0]);
diff --git a/sys/compat/linux/common/linux_misc.h b/sys/compat/linux/common/linux_misc.h
index 108838b7036..63147c27a8c 100644
--- a/sys/compat/linux/common/linux_misc.h
+++ b/sys/compat/linux/common/linux_misc.h
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_misc.h,v 1.10 2004/10/07 19:30:28 erh Exp $ */
+/* $NetBSD: linux_misc.h,v 1.11 2004/11/13 07:19:27 christos Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -114,6 +114,7 @@ struct linux_sysinfo {
#define LINUX_SYSV4_SUPER_MAGIC (LINUX_SYSV_MAGIC_BASE + 2)
#define LINUX_SYSV_MAGIC_BASE 0x012FF7B3
#define LINUX_USBDEVICE_SUPER_MAGIC 0x00009fa2
+#define LINUX_DEVPTS_SUPER_MAGIC 0x00001cd1
#define LINUX_XENIX_SUPER_MAGIC (LINUX_SYSV_MAGIC_BASE + 1)
struct linux_mnttypes {