home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 8.ddi / usr / include / sys / mount.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  1.1 KB  |  32 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. #ifndef _SYS_MOUNT_H
  11. #define _SYS_MOUNT_H
  12.  
  13. #ident    "@(#)/usr/include/sys/mount.h.sl 1.1 4.0 12/08/90 23981 AT&T-USL"
  14. /*
  15.  * Flags bits passed to mount(2).
  16.  */
  17. #define    MS_RDONLY    0x01    /* Read-only */
  18. #define    MS_FSS        0x02    /* Old (4-argument) mount (compatibility) */
  19. #define    MS_DATA        0x04    /* 6-argument mount */
  20. #define MS_HADBAD    0x08    /* File system incurred a bad block */
  21.                 /* so set s_state to FsBADBLK on umount */
  22. #define    MS_NOSUID    0x10    /* Setuid programs disallowed */
  23. #define MS_REMOUNT    0x20    /* Remount */
  24. #define MS_NOTRUNC    0x40    /* Return ENAMETOOLONG for long filenames */
  25.  
  26. #if defined(__STDC__) && !defined(_KERNEL)
  27. int mount(const char *, const char *, int, ...);
  28. int umount(const char *);
  29. #endif
  30.  
  31. #endif    /* _SYS_MOUNT_H */
  32.