Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <4184B160.4050502@familiehaase.de> Date: Sun, 31 Oct 2004 10:33:20 +0100 From: "Gerrit P. Haase" Organization: Esse keine toten Tiere User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.7.3) Gecko/20040910 MIME-Version: 1.0 To: Reini Urban CC: Cygwin General Discussion Subject: Re: BUG: Cygwin implementation of Debian package tools References: <418278CB DOT 6080204 AT cox DOT net> <4182B53D DOT 1030501 AT familiehaase DOT de> <41830281 DOT 6080605 AT cox DOT net> <4183C2EC DOT 1090006 AT x-ray DOT at> In-Reply-To: <4183C2EC.1090006@x-ray.at> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reini Urban wrote: >>> It happens i.e. often for me when using the generic-build-script, if >>> invoking with install or reconf which does rm -rf .build / .inst and >>> having an explorer shell open in one of the (sub)directories to be >>> removed from the script -> it seems to hang and it is always rm. Using the above 'rm -rf .build / .inst' verbatim is not recommended;) This was not correct, I meant: rm -rf .build/* or rm -rf .inst/* > $ time rm -r findutils-4.1.7-4 > rm: Entfernen von Verzeichnis "findutils-4.1.7-4/find" nicht m"oglich: > Device or resource busy > > real 0m0.099s > user 0m0.030s > sys 0m0.031s > > # high cpu for a short amount of time is not really annoying. I'm getting these kind of 'build script hangs on trying to do rm -rf' quite often, so it seems to be not that simple. Another issue with this is that you also cannot remove empty directories with explorer in these cases, IIRC it is usually my editor (Windows Textpad) which I used to open a file in some subdirectory and has the working path set to this directory, it also happens often that even after closing the editor doesn't free this handle so it is still not possible to remove the directory with rm or explorer, probably a bug in my favorite editor. Gerrit -- =^..^= -- 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/