Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/common Add ptyfs magic number and entry.



details:   https://anonhg.NetBSD.org/src/rev/18fd504ced15
branches:  trunk
changeset: 571183:18fd504ced15
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Nov 13 07:19:27 2004 +0000

description:
Add ptyfs magic number and entry.

diffstat:

 sys/compat/linux/common/linux_misc.c |  7 ++++---
 sys/compat/linux/common/linux_misc.h |  3 ++-
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (45 lines):

diff -r 51de3c6ff756 -r 18fd504ced15 sys/compat/linux/common/linux_misc.c
--- a/sys/compat/linux/common/linux_misc.c      Sat Nov 13 07:18:34 2004 +0000
+++ b/sys/compat/linux/common/linux_misc.c      Sat Nov 13 07:19:27 2004 +0000
@@ -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 @@
        { 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 -r 51de3c6ff756 -r 18fd504ced15 sys/compat/linux/common/linux_misc.h
--- a/sys/compat/linux/common/linux_misc.h      Sat Nov 13 07:18:34 2004 +0000
+++ b/sys/compat/linux/common/linux_misc.h      Sat Nov 13 07:19:27 2004 +0000
@@ -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 @@
 #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 {



Home | Main Index | Thread Index | Old Index