Cygdrive Path Prefix Patch Issue

DJ Delorie
Tue Jun 13 14:09:00 GMT 2000

[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.

More information about the Cygwin-developers mailing list