aboutsummaryrefslogtreecommitdiff
path: root/umount.c
diff options
context:
space:
mode:
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,
39extern int umount (__const char *__special_file); 39extern int umount (__const char *__special_file);
40extern int umount2 (__const char *__special_file, int __flags); 40extern int umount2 (__const char *__special_file, int __flags);
41 41
42
43
44static const char umount_usage[] =
45 "umount [flags] filesystem|directory\n"
46#ifndef BB_FEATURE_TRIVIAL_HELP
47 "Unmount file systems\n"
48 "\nFlags:\n" "\t-a:\tUnmount all file systems"
49#ifdef BB_MTAB
50 " in /etc/mtab\n\t-n:\tDon't erase /etc/mtab entries\n"
51#else
52 "\n"
53#endif
54 "\t-r:\tTry to remount devices as read-only if mount is busy\n"
55#if defined BB_FEATURE_MOUNT_FORCE
56 "\t-f:\tForce filesystem umount (i.e. unreachable NFS server)\n"
57#endif
58#if defined BB_FEATURE_MOUNT_LOOP
59 "\t-l:\tDo not free loop device (if a loop device has been used)\n"
60#endif
61#endif
62;
63
64struct _mtab_entry_t { 42struct _mtab_entry_t {
65 char *device; 43 char *device;
66 char *mountpt; 44 char *mountpt;