delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/24/01:00:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <41CBA34D.13D639A5@dessent.net>
Date: Thu, 23 Dec 2004 21:04:13 -0800
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: available for test: findutils-20041219-1
References: <20041219203809 DOT GA32005 AT trixie DOT casa DOT cgf DOT cx> <41CB9C86 DOT DF363492 AT dessent DOT net> <20041224043943 DOT GB22309 AT trixie DOT casa DOT cgf DOT cx>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Christopher Faylor wrote:

> Right.  And /cygdrive/a is one of the mounts.
> 
> Someone else already pointed to the change in Cygwin which removed the
> exception so that floppy drives showing up in the mount table.
> 
> So, you now see where the problem is coming from.  This is code that has
> been in Cygwin for more than a year.

Yes, I realize that it is a regression in findutils (the new code that
looks at the mounts) and not anything that has changed in Cygwin. 
However this also means that it's impossible for any "userspace" code
that wants to list the mounts to avoid the spurious floppy seek, which
seems like undue punishment.  Especially mean since the error returned
by GetFileAttributes causes the code to ignore that drive and continue
on, and so /cygdrive/a is not returned in the mount list.

I guess what I'm getting at is it's impossible to patch find (and the
various other utilities that were reported to cause a seek) to not
invoke the seek.  Do you have any plans to consider applying the Cygwin
patch at all or do we just get to live with a floppy seek at every login
or invocation of find?

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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