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

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: <41CBACDA.59ABD12C@dessent.net>
Date: Thu, 23 Dec 2004 21:44:58 -0800
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: ptsekov AT gmx DOT net
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> <41CBA34D DOT 13D639A5 AT dessent DOT net> <20041224050451 DOT GA22543 AT trixie DOT casa DOT cgf DOT cx>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Christopher Faylor wrote:

> >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?
> 
> Let me say it again.  This is not new behavior:
> 
> 2003-08-05  Pavel Tsekov  <ptsekov AT gmx DOT net>
> 
>         * path.cc (cygdrive_getmntent): Do not skip over drives of type
>         DRIVE_REMOVABLE.
> 
> Perhaps you should be discussing this with Pavel.

Okay, I misunderstood.  I thought that you were saying someone had
posted a patch that would prevent checking floppy drives in that section
of the code.  I now see that it used to be the case that this was done,
and the above patch removed that functionality.

I have no idea what Pavel's intentions were with his change.  I can only
guess it was to support /cygdrive use with some form of removable media,
perhaps floppy, perhaps otherwise.  However at the time it was
committed, there was no mount checking code in find, and so there were
no spurious floppy seeks for opening a login shell and many other
activities.  I will CC him on this email to see if he wants to clarify. 
It seems to me that making this behavior settable through a CYGWIN env
option would satisy everyone, but I'm also quite sure that no patch I
submit to implement this would be accepted, mainly due to not having a
copyright assignment on file.

In all honesty it doesn't bother me at all to run a locally patched DLL
to remove these god awful constant floppy seek delays.  In that sense,
consider the issue resolved from my end.  However, I invision a steadily
increasing stream of angry mailing list posts complaining about this, as
the new findutils eventually becomes more widespread as users update. 
Only trying to be proactive here. :-)

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