Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii --- Jason Tishler 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: __Cygwin: POSIX on Windows__ Cygwin Newbies: __Minimalist GNU for Windows__ Mingw32 List: Mingw Home: __________________________________________________ Do You Yahoo!? Yahoo! Photos -- now, 100 FREE prints! http://photos.yahoo.com