Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-17 00:57:15 +0400
committerMatt Kraai <kraai@debian.org>2000-07-17 00:57:15 +0400
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /umount.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
Extract usage information into a separate file.
Diffstat (limited to 'umount.c')
-rw-r--r--umount.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/umount.c b/umount.c
index 1b250fd3a..df075f7d9 100644
--- a/umount.c
+++ b/umount.c
@@ -39,28 +39,6 @@ extern int mount (__const char *__special_file, __const char *__dir,
extern int umount (__const char *__special_file);
extern int umount2 (__const char *__special_file, int __flags);
-
-
-static const char umount_usage[] =
- "umount [flags] filesystem|directory\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "Unmount file systems\n"
- "\nFlags:\n" "\t-a:\tUnmount all file systems"
-#ifdef BB_MTAB
- " in /etc/mtab\n\t-n:\tDon't erase /etc/mtab entries\n"
-#else
- "\n"
-#endif
- "\t-r:\tTry to remount devices as read-only if mount is busy\n"
-#if defined BB_FEATURE_MOUNT_FORCE
- "\t-f:\tForce filesystem umount (i.e. unreachable NFS server)\n"
-#endif
-#if defined BB_FEATURE_MOUNT_LOOP
- "\t-l:\tDo not free loop device (if a loop device has been used)\n"
-#endif
-#endif
-;
-
struct _mtab_entry_t {
char *device;
char *mountpt;