1 #ifndef _SYS_MOUNT_H 2 #define _SYS_MOUNT_H 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 enum 9 { 10 MOUNT_SYMLINK = 0x001, /* "mount point" is a symlink */ 11 MOUNT_BINARY = 0x002, /* "binary" format read/writes */ 12 MOUNT_SYSTEM = 0x008, /* mount point came from system table */ 13 MOUNT_EXEC = 0x010, /* Any file in the mounted directory gets 'x' bit */ 14 MOUNT_AUTO = 0x020, /* mount point refers to auto device mount */ 15 MOUNT_CYGWIN_EXEC = 0x040, /* file or directory is or contains a cygwin 16 executable */ 17 MOUNT_MIXED = 0x080, /* reads are text, writes are binary */ 18 }; 19 20 int mount (const char *, const char *, unsigned __flags); 21 int umount (const char *); 22 int cygwin_umount (const char *__path, unsigned __flags); 23 24 #ifdef __cplusplus 25 }; 26 #endif 27 28 #endif /* _SYS_MOUNT_H */ |