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: cygwin-developers at sourceware dot cygnus dot com
- Subject: Re: Cygdrive Path Prefix Patch Issue
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Thu, 15 Jun 2000 08:02:43 -0700 (PDT)
- Reply-To: earnie_boyd at yahoo dot com
--- Jason Tishler <Jason.Tishler@dothill.com> wrote:
-8<-
>
> 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.
Cheers,
=====
---
Earnie Boyd: <mailto:earnie_boyd@yahoo.com>
__Cygwin: POSIX on Windows__
Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
__Minimalist GNU for Windows__
Mingw32 List: <http://www.egroups.com/group/mingw32/>
Mingw Home: <http://www.mingw.org/>
__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com