diff options
Diffstat (limited to 'umount.c')
-rw-r--r-- | umount.c | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -39,28 +39,6 @@ extern int mount (__const char *__special_file, __const char *__dir, | |||
39 | extern int umount (__const char *__special_file); | 39 | extern int umount (__const char *__special_file); |
40 | extern int umount2 (__const char *__special_file, int __flags); | 40 | extern int umount2 (__const char *__special_file, int __flags); |
41 | 41 | ||
42 | |||
43 | |||
44 | static 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 | |||
64 | struct _mtab_entry_t { | 42 | struct _mtab_entry_t { |
65 | char *device; | 43 | char *device; |
66 | char *mountpt; | 44 | char *mountpt; |