home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 8.ddi / usr / include / sys / mntent.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  1.7 KB  |  45 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10.  
  11. #ident    "@(#)/usr/include/sys/mntent.h.sl 1.1 4.0 12/08/90 51243 AT&T-USL"
  12. #define bcopy(f,t,n)    memcpy(t,f,n)
  13. #define bzero(s,n)    memset(s,0,n)
  14. #define bcmp(s,d,n)    memcmp(s,d,n)
  15.  
  16. #define index(s,r)    strchr(s,r)
  17. #define rindex(s,r)    strrchr(s,r)
  18.  
  19. #define MNTTAB        "/etc/mnttab"
  20. #define VFSTAB        "/etc/vfstab"
  21.  
  22. #define    MNTTYPE_UFS    "ufs"
  23. #define MNTTYPE_SWAP    "swap"  /* swap file system */
  24. #define MNTTYPE_IGNORE  "ignore"/* No type specified, ignore this entry */
  25. #define MNTTYPE_LO      "lo"    /* Loop back File system */
  26.  
  27. #define      MNTOPT_RO       "ro"    /* read only */
  28. #define   MNTMAXSTR       128
  29. #define MNTOPT_RW       "rw"    /* read/write */
  30. #define MNTOPT_RQ    "rq"    /* read/write with quotas */
  31. #define MNTOPT_QUOTA    "quota" /* quotas */
  32. #define MNTOPT_NOQUOTA  "noquota"/* no quotas */
  33. #define MNTOPT_SOFT     "soft"  /* soft mount */
  34. #define MNTOPT_HARD     "hard"  /* hard mount */
  35. #define MNTOPT_NOSUID   "nosuid"/* no set uid allowed */
  36. #define MNTOPT_NOAUTO   "noauto"/* hide entry from mount -a */
  37. #define MNTOPT_GRPID    "grpid" /* SysV-compatible group-id on create */
  38. #define MNTOPT_REMOUNT  "remount"/* change options on previous mount */
  39. #define MNTOPT_NOSUB    "nosub"  /* disallow mounts beneath this one */
  40. #define MNTOPT_MULTI    "multi"  /* Do multi-component lookup */
  41.  
  42. #define L_SET        0    /* for lseek */
  43.  
  44. char * hasmntopt();
  45.