2 #define MS_RDONLY 1 /* Mount read-only */
5 #define MS_NOSUID 2 /* Ignore suid and sgid bits */
8 #define MS_NODEV 4 /* Disallow access to device special files */
11 #define MS_NOEXEC 8 /* Disallow program execution */
13 #ifndef MS_SYNCHRONOUS
14 #define MS_SYNCHRONOUS 16 /* Writes are synced at once */
17 #define MS_REMOUNT 32 /* Alter flags of a mounted FS */
20 #define MS_MANDLOCK 64 /* Allow mandatory locks on an FS */
23 #define MS_DIRSYNC 128 /* Directory modifications are synchronous */
26 #define MS_NOATIME 0x400 /* 1024: Do not update access times. */
29 #define MS_NODIRATIME 0x800 /* 2048: Don't update directory access times */
32 #define MS_BIND 0x1000 /* 4096: Mount existing tree also elsewhere */
35 #define MS_MOVE 0x2000 /* 8192: Atomically move tree */
38 #define MS_REC 0x4000 /* 16384: Recursive loopback */
41 #define MS_VERBOSE 0x8000 /* 32768 */
44 #define MS_RELATIME 0x200000 /* 200000: Update access times relative
48 #define MS_UNBINDABLE (1<<17) /* 131072 unbindable*/
51 #define MS_PRIVATE (1<<18) /* 262144 Private*/
54 #define MS_SLAVE (1<<19) /* 524288 Slave*/
57 #define MS_SHARED (1<<20) /* 1048576 Shared*/
60 #define MS_I_VERSION (1<<23) /* update inode I_version field */
62 #ifndef MS_STRICTATIME
63 #define MS_STRICTATIME (1<<24) /* strict atime semantics */
66 * Magic mount flag number. Had to be or-ed to the flag values.
69 #define MS_MGC_VAL 0xC0ED0000 /* magic flag number to indicate "new" flags */
72 #define MS_MGC_MSK 0xffff0000 /* magic flag number mask */