This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Cygdrive Path Prefix Patch Issue
- To: Jason dot Tishler at dothill dot com
- Subject: Re: Cygdrive Path Prefix Patch Issue
- From: DJ Delorie <dj at delorie dot com>
- Date: Tue, 13 Jun 2000 17:09:48 -0400
- CC: cygwin-developers at sourceware dot cygnus dot com
- References: <3946A03A.C5452A47@dothill.com>
[moved to cygwin-developers]
> I would like to follow the above suggestion and further enhance
> mount by adding --show-cygdrive-prefix functionality.
> Unfortunately, given the current public API there is no way (that I
> could find) to pass the cygdrive path prefix information from inside
> Cygwin to mount for display purposes. Is it acceptable to add
> something like cygwin_get_cygdrive_paths() to the public API? Any
> other suggestions?
Could getmntent be extended to return, as one of the entries, the
automount path? It would probably mess up *some* program somewhere.
Otherwise, either add a new set/get pair, or use the existing
cygwin_internal() function for "hidden" functions.