Cygdrive Path Prefix Patch Issue

Chris Faylor
Thu Jun 15 09:35:00 GMT 2000

On Thu, Jun 15, 2000 at 08:02:43AM -0700, Earnie Boyd wrote:
>--- Jason Tishler <> wrote:
>> I looked into the df source -- specifically read_filesystem_list() in
>> fileutils/lib/mountlist.c.  The current implementation would attempt
>> to interpret the cygdrive prefixes as ordinary file systems.
>> > and if there is a way to work around it.
>> I can add Cygwin specific code to ignore the cygdrive prefixes.  But,
>> I'm concerned that all other code that uses getmntent() would need a
>> similar change.
>> DJ Delorie wrote:
>> > Could getmntent be extended to return, as one of the entries, the
>> > automount path?
>> Implementing the above is certainly doable but will be fairly ugly.
>> Do we really want to go with this approach?  If the consensus is yes,
>> then I will do so.  Are there any other, hopefully better, alternatives
>> before I dive in?
>This certainly sounds like we *don't* want to use this approach.  AFAICT a new
>function named something like getumntent() would be better suited.

Yeah, I guess I have to agree.  I don't like adding cygwin_foo stuff if I can
help it but if there is no other alternative, then I guess that's what we
should do.

Hmm.  I wonder if the 'sysconf' interface has anything like this.


More information about the Cygwin-developers mailing list