This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cygdrive Path Prefix Patch Issue



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]