src/winsup/utils ChangeLog Makefile.in mount.c ...
corinna@cygwin.com
corinna@cygwin.com
Wed Jul 22 10:20:00 GMT 2009
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2009-07-22 10:20:26
Modified files:
winsup/utils : ChangeLog Makefile.in mount.cc path.cc path.h
utils.sgml
Log message:
* Makefile.in (path-mount.o): Add a rule to build stripped down version
of path.cc for usage in mount.
(mount.exe): Add dependency to path-mount.o.
* mount.cc (force): Convert to bool value. Accommodate throughout.
(from_fstab): New function.
(do_mount_from_fstab): New function.
(longopts): Add --all option.
(opts): Add -a option.
(usage): Document -a/--all option.
(main): Handle -a option as well as single parameter.
* path.cc: Add FSTAB_ONLY conditional to allow building path-mount.o.
(mount_table): Remove static storage class.
(max_mount_entry): Ditto.
(root_here): Unused. Remove.
(from_fstab_line): Remove static.
* path.h (struct mnt_t): Define here rather than in path.cc.
(from_fstab_line): Declare.
(mount_table): Declare.
(max_mount_entry): Declare.
* utils.sgml (mount): Document -a/--all option and mounting of single
path from fstab files.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=src&r1=1.481&r2=1.482
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/Makefile.in.diff?cvsroot=src&r1=1.86&r2=1.87
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/mount.cc.diff?cvsroot=src&r1=1.45&r2=1.46
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/path.cc.diff?cvsroot=src&r1=1.22&r2=1.23
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/path.h.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/utils.sgml.diff?cvsroot=src&r1=1.78&r2=1.79
More information about the Cygwin-cvs
mailing list