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: <5.2.0.9.2.20030121163745.0326a358@pop3.cris.com> X-Sender: rrschulz AT pop3 DOT cris DOT com Date: Tue, 21 Jan 2003 16:40:08 -0800 To: cygwin AT cygwin DOT com From: Randall R Schulz Subject: Re: Bug in rm -r with locked files In-Reply-To: <3E2DBDFC.9050103@cotagesoft.com> References: <232810-220031221163510989 AT M2W098 DOT mail2web DOT com> <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030121111136 DOT 0286aea0 AT pop3 DOT cris DOT com> <20030121201944 DOT GE17833 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Shankar, At 13:39 2003-01-21, Shankar Unni wrote: >Christopher Faylor wrote: > >>It's not a completely intractable problem. I think that someone (Chris >>January?) provided a workaround at one point. "cygserver" could also >>provide a possible solution someday. > >Right. I went back and re-read those archives. Interesting problem. > >Now why was it important to do this "delayed remove" semantics? I.e. what >(as alluded to by Robert Collins) would be broken if unlink simply >returned EPERM or something like that if the file was busy? I didn't see >any reference to that in the message threads. Well, EPERM would be a lie. EBUSY might be appropriate. The canonical text for that is "mount device busy", but it gets used for lots of things not related to mounting or unmounting. >(PS The archive search feature at http://cygwin.com/ml/cygwin/ seem to be >broken - just about anything I type in the search box, including the word >"cygwin", comes back with "no matches". So I apologize for not being able >to do this research myself, and have to depend on those with long memories..) >-- >Shankar. Randall Schulz -- 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/