summaryrefslogtreecommitdiffstats
path: root/winsup/utils/mount.cc
Commit message (Collapse)AuthorAgeFilesLines
* fix whitespace, update some copyrightsChristopher Faylor2004-10-251-1/+1
|
* * mount.cc (mount_commands): Ensure user mode is actually user mode and not theChristopher Faylor2003-09-041-36/+42
| | | | default system mode.
* * mount.cc (do_mount): Issue warning when using managed mount option onChristopher Faylor2003-07-261-0/+20
| | | | non-empty directory.
* * mount.cc (struct opt): Remove posix option.Christopher Faylor2003-07-041-2/+1
|
* * mount.cc (longopts): Add long "options" keyword.Christopher Faylor2003-07-041-2/+62
| | | | | | | | (opts): Add -o option. (usage): Display -o option. (struct opt): New. (concat3): New function. (main): Handle -o flag.
* * cygcheck.cc (usage) Add description output.Joshua Daniel Franklin2003-04-261-0/+2
|
* * mount.cc (usage): Correctly report default mode.Christopher Faylor2002-10-191-2/+2
|
* Add final newlines to utilsJoshua Daniel Franklin2002-09-151-1/+2
|
* * mount.cc (main): Ensure that mount_already_exists() also gets default flagChristopher Faylor2002-07-011-1/+1
| | | | | | | | | that is passed to do_mount. * cygpath.cc (long_options): Add "dos" and "mixed", correct "close", "file" and "type" to use NULL flag. (usage): Clean up usage output (more), accomodate new options. (main): Add --dos and --mixed options; accomodate all output forms in --type. Make UNIXy output default.
* * mount.cc (main): Use default system/user flag for cygdrive stuff, too.Christopher Faylor2002-06-091-2/+2
| | | | | | (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.
* * mount.cc (opts): Remove '-i' option.Christopher Faylor2002-06-091-17/+1
| | | | | | (usage): Ditto. (main): Ditto. (longopts): Remove --import-old-mounts option.
* * mount.cc (main): Make -b the default.Christopher Faylor2002-05-301-1/+1
|
* * mount.cc (version) New global variable.Christopher Faylor2002-05-231-23/+64
| | | | | | | | (usage) Standardize usage output. Accomodate new version option. (print_version) New function. (longopts) Accomodate new version option. (opts) Ditto. (main) Ditto.
* * Makefile.in (kill.exe): Add as a specific target.Christopher Faylor2002-05-131-2/+2
| | | | | | | | | | * kill.cc (longopts): New. (opts): Ditto. (get_sig): Accept const char * parameter. Return -1 on unknown signal. (test_for_unknown_sig): New function. (listsig): New function. (main): Use getopt_long for option parsing. Implement -l, and -s options. Use test_for_unknown_sig() to test for signal validity.
* * mount.cc (do_mount): Default to non-exec option for remote drives. ReportChristopher Faylor2002-05-121-9/+46
| | | | | | | | | | | 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.
* * mount.cc (usage): Fix typo in output.Christopher Faylor2002-02-151-2/+2
|
* * Makefile.in: Only build testsuite directory on first 'make check'.Christopher Faylor2001-10-241-1/+1
| | | | | * configure.in: Remove testsuite from SUBDIRS. * configure: Regenerate.
* * mount.cc (mount_commands): Don't write /cygdrive/u mount points.Christopher Faylor2001-09-041-14/+17
|
* * mount.cc (longopts): Add mount-commands to options list.Christopher Faylor2001-09-031-2/+74
| | | | | (usage): Add mount-commands option. (mount_commands): New function. Write commands to recreate current mounts.
* * mount.cc (main): Eliminate excess arguments in printf.Christopher Faylor2001-09-011-1/+1
|
* * mount.cc (main): Issue correct warning for 'not enough arguments'.Christopher Faylor2001-08-281-1/+4
|
* * mount.cc (longopts): Add help to options list.Christopher Faylor2001-04-161-18/+19
| | | | | | (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'.
* * mount.cc (main): Use getopt_long for parsing arguments.Christopher Faylor2001-04-031-68/+114
| | | | | (usage): Reformat, show long and short options. * umount.cc (main): Ditto, all of the above.
* * mount.cc (show_mounts): Change format string to more closely resemble UNIXChristopher Faylor2001-04-021-9/+3
| | | | when displaying mount table.
* * mount.cc (main): Call show_cygdrive_info instead of show_cygdrive_prefixes.Christopher Faylor2000-11-081-10/+14
| | | | | | | * mount.cc (show_cygdrive_prefixes): Remove function. * mount.cc (show_cygdrive_info): New function. Actually, show_cygdrive_info is really an enhanced version of show_cygdrive_prefixes renamed to show_cygdrive_info that also displays the user and system flags.
* Cleanup formatting on some files. Remove excessive whitespace.Christopher Faylor2000-10-281-3/+3
|
* * utils/mount.cc (main): Add --show-cygdrive-prefixes option.Christopher Faylor2000-07-281-0/+31
| | | | | | | (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.
* * mount.cc (mount_already_exists): Slightly rearrange.Corinna Vinschen2000-07-131-13/+19
| | | | Change message texts.
* * mount.cc (mount_already_exists): Additional warning messageCorinna Vinschen2000-07-131-0/+6
| | | | if mount point exists with another mount type.
* mount.cc (error): New function to report an error and exit.Corinna Vinschen2000-06-081-10/+11
| | | | | | | umount.cc (error): Ditto. (remove_all_automounts): Check return status of cygwin_umount. (remove_all_user_mounts): Ditto. (remove_all_system_mounts): Ditto.
* * mount.cc: add stdlib.h for exitDJ Delorie2000-06-051-0/+1
| | | | | * umount.cc: ditto * strace.cc: add #define for alloca
* * Makefile.in: Eliminate WINSUP_DEPS.Christopher Faylor2000-05-181-2/+0
| | | | | | | | | * cygpath.cc: Reorganize includes to accomodate sys/cygwin.h changes. * mkgroup.c: Ditto. * mkpasswd.c: Ditto. * mount.cc: Ditto. Eliminate use of cygwin source specific includes. * ps.cc: Ditto. * cygwin.cc: Eliminate obsolete file.
* * mount.cc (main): Add "-X" option to specify a "Cygwin executable".Christopher Faylor2000-04-271-34/+36
|
* import winsup-2000-02-17 snapshotChristopher Faylor2000-02-171-0/+240