diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
commit | d353f773bab8c0f92e149a74400aa31b57da9d05 (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /umount.c | |
parent | 3ab1d8193e335afa74e86a8d8e628158d7e503b9 (diff) | |
download | busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.gz busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.bz2 busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.zip |
Extract usage information into a separate file.
git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
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; |