diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-09 00:33:27 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-09 00:33:27 +0000 |
commit | 60a3d46123998f51c6dffba7d0eddf4b8013fb18 (patch) | |
tree | 72bd9564b968ddb4ee49e1f3668e225d428b0262 /winsup | |
parent | 50484e8e36cd2945fbcd11524ce4f24ae5f4d8ba (diff) | |
download | newlib-60a3d46123998f51c6dffba7d0eddf4b8013fb18.zip newlib-60a3d46123998f51c6dffba7d0eddf4b8013fb18.tar.gz newlib-60a3d46123998f51c6dffba7d0eddf4b8013fb18.tar.bz2 |
* mount.cc (opts): Remove '-i' option.
(usage): Ditto.
(main): Ditto.
(longopts): Remove --import-old-mounts option.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/utils/ChangeLog | 7 | ||||
-rw-r--r-- | winsup/utils/mount.cc | 18 |
2 files changed, 8 insertions, 17 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 395fabb..f241410 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 62c50eb..7c2f2a1 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 (); |