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://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | "Gary R. Van Sickle" <g DOT r DOT vansickle AT worldnet DOT att DOT net> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: cygwin.com suggestions |
Date: | Fri, 15 Mar 2002 23:13:42 -0600 |
Message-ID: | <NCBBIHCHBLCMLBLOBONKOELLCLAA.g.r.vansickle@worldnet.att.net> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
In-Reply-To: | <FC169E059D1A0442A04C40F86D9BA760014BD9@itdomain003.itdomain.net.au> |
Importance: | Normal |
[snip] > > But that doesn't really replace the current DLL. IOW the > > changes are not > > effective until one reboots. Personally I find this a crummy > > way to do > > things but perhaps that's all that can be done. > > I think crummy is a little harsh. And yes, other than shutting down all > process's using a file, this is the best that can be done (*). > > Rob > > *: Well, it's possible that a file system filter driver that redirects > the access to a new file for subsequent opens could provide equivalent > functionality to a linux style delete/replace of in-use files. However I > don't know whether the file system cache/file mapping logic sit above or > below such filters... if they sit above the filter (And I suspect they > do), then the filter would never get invoked, and the file would still > appear to be there. > PAIN! WINDOWS... DRIVERS! FILE... SYSTEM... AHAAAAAHHHHHHHHHHHH!!! Actually I was thinking this would be a perfect job for that snazzy new daemon coming down the pike; queue the file in question up with the daemon, and have the daemon wait until nobody's looking (i.e. nothing's using the file-to-be-replaced), and then swap the new one in. The daemon could replace itself in a somewhat similar manner; the new daemon would send the old daemon a signal to shut down and then replace it with itself when Windows eventually let go of it. -- Gary R. Van Sickle Brewer. Patriot. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |