delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/06/15/11:51:43

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-ID: <20000615150243.27071.qmail@web116.yahoomail.com>
Date: Thu, 15 Jun 2000 08:02:43 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: Cygdrive Path Prefix Patch Issue
To: cygwin-developers AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

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


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019