diff options
Diffstat (limited to 'mount.c')
-rw-r--r-- | mount.c | 30 |
1 files changed, 15 insertions, 15 deletions
@@ -55,21 +55,21 @@ | |||
55 | #include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */ | 55 | #include <linux/devmtab.h> /* For Erik's nifty devmtab device driver */ |
56 | #endif | 56 | #endif |
57 | 57 | ||
58 | 58 | enum { | |
59 | #define MS_MGC_VAL 0xc0ed0000 /* Magic number indicatng "new" flags */ | 59 | MS_MGC_VAL = 0xc0ed0000, /* Magic number indicatng "new" flags */ |
60 | #define MS_RDONLY 1 /* Mount read-only */ | 60 | MS_RDONLY = 1, /* Mount read-only */ |
61 | #define MS_NOSUID 2 /* Ignore suid and sgid bits */ | 61 | MS_NOSUID = 2, /* Ignore suid and sgid bits */ |
62 | #define MS_NODEV 4 /* Disallow access to device special files */ | 62 | MS_NODEV = 4, /* Disallow access to device special files */ |
63 | #define MS_NOEXEC 8 /* Disallow program execution */ | 63 | MS_NOEXEC = 8, /* Disallow program execution */ |
64 | #define MS_SYNCHRONOUS 16 /* Writes are synced at once */ | 64 | MS_SYNCHRONOUS = 16, /* Writes are synced at once */ |
65 | #define MS_REMOUNT 32 /* Alter flags of a mounted FS */ | 65 | MS_REMOUNT = 32, /* Alter flags of a mounted FS */ |
66 | #define MS_MANDLOCK 64 /* Allow mandatory locks on an FS */ | 66 | MS_MANDLOCK = 64, /* Allow mandatory locks on an FS */ |
67 | #define S_QUOTA 128 /* Quota initialized for file/directory/symlink */ | 67 | S_QUOTA = 128, /* Quota initialized for file/directory/symlink */ |
68 | #define S_APPEND 256 /* Append-only file */ | 68 | S_APPEND = 256, /* Append-only file */ |
69 | #define S_IMMUTABLE 512 /* Immutable file */ | 69 | S_IMMUTABLE = 512, /* Immutable file */ |
70 | #define MS_NOATIME 1024 /* Do not update access times. */ | 70 | MS_NOATIME = 1024, /* Do not update access times. */ |
71 | #define MS_NODIRATIME 2048 /* Do not update directory access times */ | 71 | MS_NODIRATIME = 2048, /* Do not update directory access times */ |
72 | 72 | }; | |
73 | 73 | ||
74 | 74 | ||
75 | #if defined BB_FEATURE_MOUNT_LOOP | 75 | #if defined BB_FEATURE_MOUNT_LOOP |