delorie.com/archives/browse.cgi | search |
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 |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: [?@yahoo.com: Found problem of floppy drive acces] |
Date: | Fri, 17 Dec 2004 17:44:00 -0000 |
MIME-Version: | 1.0 |
In-Reply-To: | <NUTMEGj9L6alYuhGJdO0000088e@NUTMEG.CAM.ARTIMI.COM> |
Message-ID: | <NUTMEGQA8U6CuyzC0bH00000896@NUTMEG.CAM.ARTIMI.COM> |
X-OriginalArrivalTime: | 17 Dec 2004 17:44:00.0828 (UTC) FILETIME=[FE0987C0:01C4E45F] |
> -----Original Message----- > From: cygwin-owner On Behalf Of Dave Korn > Sent: 17 December 2004 17:24 > > -----Original Message----- > > From: cygwin-owner On Behalf Of Eric Schweitz > > Sent: 17 December 2004 17:23 > > > ----- Forwarded message from Vijay Jaswal ----- > > > > Hello again, > > > > I found where the floppy drive was being access and it's > > definately a problem of Cygwin. > > > No it is not. It is WINDOWS that is accessing the drive and there is > absolutely nothing cygwin can do to either cause or prevent this. Actually, that may not be strictly true. Let me elaborate: The reason the floppy is being accessed is because some win32 api function or other wants to check its status. It is quite likely some function related to drive or file properties or information, and it probably scans all the known drive letters despite that being superfluous for most of them. It's not just cygwin, it's absolutely definitely part of windows. For quite some time my home PC used to always scan the floppy whenever I opened the "My computer" window. And if there's an A:\ path in the File...Open MRU list in wordpad or similar, it will scan the floppy when it starts up. So this is natural windoze behaviour in lots of circumstances. So it is conceivable that this is a consequence of some system call that cygwin makes to get drive info and it is also conceivable that there might be some other way cygwin could get the same info using some other system call that doesn't decide to scan the floppy. But it's also conceivable that there's no way to avoid this side-effect, and it's certainly not a cygwin *bug* that it uses a bog-standard win32 api function in the way it is supposed to be used and for the purpose it is supposed to be used for; it is a *windows* bug that it superfluously scans the floppy. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |