Joshua Daniel Franklin
aa275fe010
* cygcheck.cc (usage) Add description output.
2003-04-26 21:52:03 +00:00
Joshua Daniel Franklin
98467dae59
Add final newlines to utils
2002-09-15 19:24:37 +00:00
Christopher Faylor
94cc482c64
* mount.cc (main): Use default system/user flag for cygdrive stuff, too.
...
(change_cygdrive_prefix): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
* umount.cc (remove_cygdrive_prefix): Ditto.
(main): Use default system/user flag for cygdrive stuff, too.
2002-06-09 04:54:32 +00:00
Christopher Faylor
e6cd2312d6
* umount.cc (version): New global variable.
...
(longopts): Accommodate new --version option.
(opts): Ditto.
(usage): Standardize usage output.
(print_version): New function.
(main): Accommodate --help, --version options.
2002-06-04 01:31:28 +00:00
Christopher Faylor
48897dfeb9
* mount.cc (do_mount): Default to non-exec option for remote drives. Report
...
warnings before attempting a mount.
(longopts): Add no-executable option.
(mount_commands): Ditto.
(opts): Ditto.
(usage): Ditto. Indicate that system mount is now the default.
(main): Accommodate no-executable option. Make system mount the default.
* umount.cc (usage): Indicate that system umount is now the default.
(main): Make system umount the default.
2002-05-12 04:29:54 +00:00
Christopher Faylor
e05f3227be
* Makefile.in: Add define to CXXFLAGS.
2001-12-11 22:51:01 +00:00
Christopher Faylor
12a9c87480
* mkpasswd.c (main): Output passwd file in binary mode so that there are no CRs
...
in the file.
* umount.cc (remove_all_user_mounts): Don't try to remove /cygdrive mounts.
2001-06-15 04:50:57 +00:00
Christopher Faylor
9f42525632
* mount.cc (longopts): Add help to options list.
...
(opts): Add 'h' to options string.
* umount.cc (longopts): Add help to options list.
(opts): Add 'h' to options string and change 'R' to 'A'.
2001-04-16 02:51:03 +00:00
Christopher Faylor
be61cf4d0c
* mount.cc (main): Use getopt_long for parsing arguments.
...
(usage): Reformat, show long and short options.
* umount.cc (main): Ditto, all of the above.
2001-04-03 02:41:54 +00:00
Christopher Faylor
eedc36cb12
Cleanup formatting on some files. Remove excessive whitespace.
2000-10-28 05:00:00 +00:00
Christopher Faylor
959e1bac13
* utils/mount.cc (main): Add --show-cygdrive-prefixes option.
...
(show_cygdrive_prefixes): New function.
* utils/umount.cc (main): Add --remove-cygdrive-prefix option.
(error): Change signature from 'char *' to 'const char *'.
(remove_cygdrive_prefix): New function.
2000-07-28 22:34:24 +00:00
Corinna Vinschen
9500a3db90
mount.cc (error): New function to report an error and exit.
...
umount.cc (error): Ditto.
(remove_all_automounts): Check return status of cygwin_umount.
(remove_all_user_mounts): Ditto.
(remove_all_system_mounts): Ditto.
2000-06-08 12:54:12 +00:00
DJ Delorie
b6e259b12f
* mount.cc: add stdlib.h for exit
...
* umount.cc: ditto
* strace.cc: add #define for alloca
2000-06-05 18:43:54 +00:00
Christopher Faylor
1fd5e000ac
import winsup-2000-02-17 snapshot
2000-02-17 19:38:33 +00:00