Add ptyfs magic number and entry.

This commit is contained in:
christos 2004-11-13 07:19:27 +00:00
parent d5b128a728
commit 44264ea2a6
2 changed files with 6 additions and 4 deletions

View File

@ -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]);

View File

@ -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 {