diff options
Diffstat (limited to 'mount.c')
-rw-r--r-- | mount.c | 32 |
1 files changed, 0 insertions, 32 deletions
@@ -80,38 +80,6 @@ extern int umount2 (__const char *__special_file, int __flags); | |||
80 | 80 | ||
81 | extern const char mtab_file[]; /* Defined in utility.c */ | 81 | extern const char mtab_file[]; /* Defined in utility.c */ |
82 | 82 | ||
83 | static const char mount_usage[] = | ||
84 | "mount [flags] device directory [-o options,more-options]\n" | ||
85 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
86 | "\nMount a filesystem\n\n" | ||
87 | "Flags:\n" | ||
88 | "\t-a:\t\tMount all filesystems in fstab.\n" | ||
89 | #ifdef BB_MTAB | ||
90 | "\t-f:\t\t\"Fake\" mount. Add entry to mount table but don't mount it.\n" | ||
91 | "\t-n:\t\tDon't write a mount table entry.\n" | ||
92 | #endif | ||
93 | "\t-o option:\tOne of many filesystem options, listed below.\n" | ||
94 | "\t-r:\t\tMount the filesystem read-only.\n" | ||
95 | "\t-t fs-type:\tSpecify the filesystem type.\n" | ||
96 | "\t-w:\t\tMount for reading and writing (default).\n" | ||
97 | "\n" | ||
98 | "Options for use with the \"-o\" flag:\n" | ||
99 | "\tasync/sync:\tWrites are asynchronous / synchronous.\n" | ||
100 | "\tatime/noatime:\tEnable / disable updates to inode access times.\n" | ||
101 | "\tdev/nodev:\tAllow use of special device files / disallow them.\n" | ||
102 | "\texec/noexec:\tAllow use of executable files / disallow them.\n" | ||
103 | #if defined BB_FEATURE_MOUNT_LOOP | ||
104 | "\tloop:\t\tMounts a file via loop device.\n" | ||
105 | #endif | ||
106 | "\tsuid/nosuid:\tAllow set-user-id-root programs / disallow them.\n" | ||
107 | "\tremount:\tRe-mount a currently-mounted filesystem, changing its flags.\n" | ||
108 | "\tro/rw:\t\tMount for read-only / read-write.\n" | ||
109 | "\nThere are EVEN MORE flags that are specific to each filesystem.\n" | ||
110 | "You'll have to see the written documentation for those.\n" | ||
111 | #endif | ||
112 | ; | ||
113 | |||
114 | |||
115 | struct mount_options { | 83 | struct mount_options { |
116 | const char *name; | 84 | const char *name; |
117 | unsigned long and; | 85 | unsigned long and; |