aboutsummaryrefslogtreecommitdiff
path: root/umount.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-16 20:57:15 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-16 20:57:15 +0000
commitd353f773bab8c0f92e149a74400aa31b57da9d05 (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /umount.c
parent3ab1d8193e335afa74e86a8d8e628158d7e503b9 (diff)
downloadbusybox-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.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;