X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <487478BE.E01AF991@dessent.net> Date: Wed, 09 Jul 2008 01:37:18 -0700 From: Brian Dessent X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Updating cygwin from a remote shell? References: <1215563345 DOT 10132 DOT ezmlm AT cygwin DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com "G.W. Haywood" wrote: > If there are any tips for a safer way of connecting to a Windows 2000 > server to do routine upgrades of Cygwin and other remote admin that I > can't do using ssh, I'd be very happy to hear them. If a reboot is allowable then you can use a tool like inuse.exe from the MS Resource Kit to schedule the files for replacement on the next boot. You could do a poor man's version of this that doesn't require a reboot by writing a batch file to move/copy the inuse files and running it via the built-in at.exe scheduler for 5 minutes in the future or whatever. The batch file would have to take care to stop all cygwin services, do the file operations, and then restart them. This of course would be rather brittle as missing some part of the upgrade would mean the services might not start again so you'd need a safety net like a vnc daemon running. 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/