aboutsummaryrefslogtreecommitdiff
path: root/util-linux/nfsmount.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/nfsmount.c')
-rw-r--r--util-linux/nfsmount.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/util-linux/nfsmount.c b/util-linux/nfsmount.c
index 619add483..d46cf698a 100644
--- a/util-linux/nfsmount.c
+++ b/util-linux/nfsmount.c
@@ -33,18 +33,12 @@
33 * nfsmount.c,v 1.1.1.1 1993/11/18 08:40:51 jrs Exp 33 * nfsmount.c,v 1.1.1.1 1993/11/18 08:40:51 jrs Exp
34 */ 34 */
35 35
36#include "busybox.h"
36#include <unistd.h> 37#include <unistd.h>
37#include <stdio.h>
38#include <string.h> 38#include <string.h>
39#include <errno.h> 39#include <errno.h>
40#include <netdb.h>
41#include <sys/socket.h>
42#include <time.h> 40#include <time.h>
43#include <sys/utsname.h> 41#include <sys/utsname.h>
44#include <netinet/in.h>
45#include <arpa/inet.h>
46#include <stdlib.h>
47#include "busybox.h"
48#undef TRUE 42#undef TRUE
49#undef FALSE 43#undef FALSE
50#include <rpc/rpc.h> 44#include <rpc/rpc.h>
@@ -121,19 +115,7 @@ enum {
121# define textdomain(Domain) /* empty */ 115# define textdomain(Domain) /* empty */
122 116
123enum { 117enum {
124 MS_MGC_VAL = 0xc0ed0000, /* Magic number indicatng "new" flags */
125 MS_RDONLY = 1, /* Mount read-only */
126 MS_NOSUID = 2, /* Ignore suid and sgid bits */
127 MS_NODEV = 4, /* Disallow access to device special files */
128 MS_NOEXEC = 8, /* Disallow program execution */
129 MS_SYNCHRONOUS = 16, /* Writes are synced at once */
130 MS_REMOUNT = 32, /* Alter flags of a mounted FS */
131 MS_MANDLOCK = 64, /* Allow mandatory locks on an FS */
132 S_QUOTA = 128, /* Quota initialized for file/directory/symlink */ 118 S_QUOTA = 128, /* Quota initialized for file/directory/symlink */
133 S_APPEND = 256, /* Append-only file */
134 S_IMMUTABLE = 512, /* Immutable file */
135 MS_NOATIME = 1024, /* Do not update access times. */
136 MS_NODIRATIME = 2048 /* Do not update directory access times */
137}; 119};
138 120
139 121