Print this page
6198 Let's EOL cachefs


   4  * The contents of this file are subject to the terms of the
   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.

  24  *
  25  *      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
  26  *              All Rights Reserved
  27  */
  28 
  29 #ifndef _SYS_MNTENT_H
  30 #define _SYS_MNTENT_H
  31 
  32 #ifdef  __cplusplus
  33 extern "C" {
  34 #endif
  35 
  36 #define MNTTAB          "/etc/mnttab"
  37 #define VFSTAB          "/etc/vfstab"
  38 #define MNTMAXSTR       128
  39 
  40 #define MNTTYPE_ZFS     "zfs"           /* ZFS file system */
  41 #define MNTTYPE_UFS     "ufs"           /* Unix file system */
  42 #define MNTTYPE_SMBFS   "smbfs"         /* SMBFS file system */
  43 #define MNTTYPE_NFS     "nfs"           /* NFS file system */
  44 #define MNTTYPE_NFS3    "nfs3"          /* NFS Version 3 file system */
  45 #define MNTTYPE_NFS4    "nfs4"          /* NFS Version 4 file system */
  46 #define MNTTYPE_CACHEFS "cachefs"       /* Cache File System */
  47 #define MNTTYPE_PCFS    "pcfs"          /* PC (MSDOS) file system */
  48 #define MNTTYPE_PC      MNTTYPE_PCFS    /* Deprecated name; use MNTTYPE_PCFS */
  49 #define MNTTYPE_LOFS    "lofs"          /* Loop back file system */
  50 #define MNTTYPE_LO      MNTTYPE_LOFS    /* Deprecated name; use MNTTYPE_LOFS */
  51 #define MNTTYPE_HSFS    "hsfs"          /* High Sierra (9660) file system */
  52 #define MNTTYPE_SWAP    "swap"          /* Swap file system */
  53 #define MNTTYPE_TMPFS   "tmpfs"         /* Tmp volatile file system */
  54 #define MNTTYPE_AUTOFS  "autofs"        /* Automounter ``file'' system */
  55 #define MNTTYPE_MNTFS   "mntfs"         /* In-kernel mnttab */
  56 #define MNTTYPE_DEV     "dev"           /* /dev file system */
  57 #define MNTTYPE_CTFS    "ctfs"          /* Contract file system */
  58 #define MNTTYPE_OBJFS   "objfs"         /* Kernel object file system */
  59 #define MNTTYPE_SHAREFS "sharefs"       /* Kernel sharetab file system */
  60 
  61 
  62 #define MNTOPT_RO       "ro"            /* Read only */
  63 #define MNTOPT_RW       "rw"            /* Read/write */
  64 #define MNTOPT_RQ       "rq"            /* Read/write with quotas */
  65 #define MNTOPT_QUOTA    "quota"         /* Check quotas */
  66 #define MNTOPT_NOQUOTA  "noquota"       /* Don't check quotas */




   4  * The contents of this file are subject to the terms of the
   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.
  24  * Copyright 2015 Nexenta Systems, Inc. All rights reserved.
  25  *
  26  *      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
  27  *              All Rights Reserved
  28  */
  29 
  30 #ifndef _SYS_MNTENT_H
  31 #define _SYS_MNTENT_H
  32 
  33 #ifdef  __cplusplus
  34 extern "C" {
  35 #endif
  36 
  37 #define MNTTAB          "/etc/mnttab"
  38 #define VFSTAB          "/etc/vfstab"
  39 #define MNTMAXSTR       128
  40 
  41 #define MNTTYPE_ZFS     "zfs"           /* ZFS file system */
  42 #define MNTTYPE_UFS     "ufs"           /* Unix file system */
  43 #define MNTTYPE_SMBFS   "smbfs"         /* SMBFS file system */
  44 #define MNTTYPE_NFS     "nfs"           /* NFS file system */
  45 #define MNTTYPE_NFS3    "nfs3"          /* NFS Version 3 file system */
  46 #define MNTTYPE_NFS4    "nfs4"          /* NFS Version 4 file system */

  47 #define MNTTYPE_PCFS    "pcfs"          /* PC (MSDOS) file system */
  48 #define MNTTYPE_PC      MNTTYPE_PCFS    /* Deprecated name; use MNTTYPE_PCFS */
  49 #define MNTTYPE_LOFS    "lofs"          /* Loop back file system */
  50 #define MNTTYPE_LO      MNTTYPE_LOFS    /* Deprecated name; use MNTTYPE_LOFS */
  51 #define MNTTYPE_HSFS    "hsfs"          /* High Sierra (9660) file system */
  52 #define MNTTYPE_SWAP    "swap"          /* Swap file system */
  53 #define MNTTYPE_TMPFS   "tmpfs"         /* Tmp volatile file system */
  54 #define MNTTYPE_AUTOFS  "autofs"        /* Automounter ``file'' system */
  55 #define MNTTYPE_MNTFS   "mntfs"         /* In-kernel mnttab */
  56 #define MNTTYPE_DEV     "dev"           /* /dev file system */
  57 #define MNTTYPE_CTFS    "ctfs"          /* Contract file system */
  58 #define MNTTYPE_OBJFS   "objfs"         /* Kernel object file system */
  59 #define MNTTYPE_SHAREFS "sharefs"       /* Kernel sharetab file system */
  60 
  61 
  62 #define MNTOPT_RO       "ro"            /* Read only */
  63 #define MNTOPT_RW       "rw"            /* Read/write */
  64 #define MNTOPT_RQ       "rq"            /* Read/write with quotas */
  65 #define MNTOPT_QUOTA    "quota"         /* Check quotas */
  66 #define MNTOPT_NOQUOTA  "noquota"       /* Don't check quotas */