mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 02:48:37 +08:00
sys/mount: add mount flag definition
Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
parent
16789ed818
commit
092f4a1b79
1 changed files with 10 additions and 1 deletions
|
@ -39,7 +39,16 @@
|
|||
|
||||
/* Mount flags */
|
||||
|
||||
#define MS_RDONLY 1 /* Mount file system read-only */
|
||||
#define MS_RDONLY 1 /* Mount file system read-only */
|
||||
#define MS_NOSUID 2 /* Ignore suid and sgid bits */
|
||||
#define MS_NODEV 4 /* Disallow access to device special files */
|
||||
#define MS_NOEXEC 8 /* Disallow program execution */
|
||||
#define MS_SYNCHRONOUS 16 /* Writes are synced at once */
|
||||
#define MS_REMOUNT 32 /* Alter flags of a mounted FS */
|
||||
#define MS_MANDLOCK 64 /* Allow mandatory locks on an FS */
|
||||
#define MS_DIRSYNC 128 /* Directory modifications are synchronous */
|
||||
#define MS_NOSYMFOLLOW 256 /* Do not follow symlinks */
|
||||
#define MS_NOATIME 1024 /* Do not update access times. */
|
||||
|
||||
/* Un-mount flags
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue