Mail Archives: cygwin-developers/2000/06/15/11:51:43
--- Jason Tishler <Jason DOT Tishler AT dothill DOT 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 AT yahoo DOT 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
- Raw text -