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

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-06-09 04:33:27 +0400
committerChristopher Faylor <me@cgf.cx>2002-06-09 04:33:27 +0400
commit60a3d46123998f51c6dffba7d0eddf4b8013fb18 (patch)
tree72bd9564b968ddb4ee49e1f3668e225d428b0262 /winsup/utils
parent50484e8e36cd2945fbcd11524ce4f24ae5f4d8ba (diff)
* mount.cc (opts): Remove '-i' option.
(usage): Ditto. (main): Ditto. (longopts): Remove --import-old-mounts option.
Diffstat (limited to 'winsup/utils')
-rw-r--r--winsup/utils/ChangeLog7
-rw-r--r--winsup/utils/mount.cc18
2 files changed, 8 insertions, 17 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 395fabb5b..f2414107f 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,3 +1,10 @@
+2002-06-08 Christopher Faylor <cgf@redhat.com>
+
+ * mount.cc (opts): Remove '-i' option.
+ (usage): Ditto.
+ (main): Ditto.
+ (longopts): Remove --import-old-mounts option.
+
2002-06-07 David Peterson <chief@mail.idrive.com>
Christopher Faylor <cgf@redhat.com>
diff --git a/winsup/utils/mount.cc b/winsup/utils/mount.cc
index 62c50ebbe..7c2f2a172 100644
--- a/winsup/utils/mount.cc
+++ b/winsup/utils/mount.cc
@@ -118,7 +118,6 @@ static struct option longopts[] =
{"executable", no_argument, NULL, 'x'},
{"force", no_argument, NULL, 'f'},
{"help", no_argument, NULL, 'h' },
- {"import-old-mounts", no_argument, NULL, 'i'},
{"mount-commands", no_argument, NULL, 'm'},
{"no-executable", no_argument, NULL, 'E'},
{"show-cygdrive-prefix", no_argument, NULL, 'p'},
@@ -129,7 +128,7 @@ static struct option longopts[] =
{NULL, 0, NULL, 0}
};
-static char opts[] = "bcfhimpstuvxEX";
+static char opts[] = "bcfhmpstuvxEX";
static void
usage (FILE *where = stderr)
@@ -141,8 +140,6 @@ usage (FILE *where = stderr)
-f, --force force mount, don't warn about missing mount\n\
point directories\n\
-h, --help output usage information and exit\n\
- -i, --import-old-mounts copy old registry mount table mounts into the\n\
- current mount areas\n\
-m, --mount-commands write mount commands to replace user and\n\
system mount points and cygdrive prefixes\n\
-p, --show-cygdrive-prefix show user and/or system cygdrive path prefix\n\
@@ -191,7 +188,6 @@ main (int argc, char **argv)
{
nada,
saw_change_cygdrive_prefix,
- saw_import_old_mounts,
saw_show_cygdrive_prefix,
saw_mount_commands
} do_what = nada;
@@ -228,12 +224,6 @@ main (int argc, char **argv)
case 'h':
usage (stdout);
break;
- case 'i':
- if (do_what == nada)
- do_what = saw_import_old_mounts;
- else
- usage ();
- break;
case 'm':
if (do_what == nada)
do_what = saw_mount_commands;
@@ -287,12 +277,6 @@ main (int argc, char **argv)
usage ();
change_cygdrive_prefix (argv[optind], flags);
break;
- case saw_import_old_mounts:
- if (optind <= argc)
- usage ();
- else
- cygwin_internal (CW_READ_V1_MOUNT_TABLES);
- break;
case saw_show_cygdrive_prefix:
if (optind <= argc)
usage ();