Re: rm problem: Directory not empty

2005-09-22 Thread zzapper
On Tue, 13 Sep 2005 11:03:30 +0100, wrote: Off-thread? Deleting undeletable Nul files There is a form of MSDOS DEL where you must enter the full path DEL \\.\c:\somedir\nul or use delinvfile.exe (google for this utility) -- zzapper Success for Techies and Vim,Zsh tips http://SuccessTheory

RE: rm problem: Directory not empty

2005-09-13 Thread Dave Korn
Original Message >From: James R. Phillips >Sent: 12 September 2005 19:30 Sorry that this is off-topic, but it comes up often enough in the context of this general discussion to be worth mentioning. > I've also seen badly behaving windows programs, which refuse to "let go" > of a directo

Re: rm problem: Directory not empty

2005-09-13 Thread Andrew DeFaria
Larry Hall wrote: At 02:29 PM 9/12/2005, you wrote: I've also seen badly behaving windows programs, which refuse to "let go" of a directory once they have used a file in it, until the program is explicitly closed. This is most annoying, as you have to keep closing program windows until suddenl

Re: rm problem: Directory not empty

2005-09-12 Thread Larry Hall
At 02:29 PM 9/12/2005, you wrote: >I've also seen badly behaving windows programs, which refuse to "let go" of a >directory once they have used a file in it, until the program is explicitly >closed. This is most annoying, as you have to keep closing program windows >until suddenly you guess right,

Re: rm problem: Directory not empty

2005-09-12 Thread James R. Phillips
Brian Dessent wrote: >Any programs still using the file will continue to do so >obliviously, until the last open handle is closed at which point the >inode is deleted and the file is actually gone. This allows the system >to e.g. replace in-use libraries and then just restart any services that >w

Re: rm problem: Directory not empty

2005-09-12 Thread Christopher Faylor
On Mon, Sep 12, 2005 at 10:37:11AM -0700, Brian Dessent wrote: >In windows, a file cannot be deleted until all outstanding file handles >are closed. I think there is an option you can give to the system to >tell it to delete the file for you when all handles are closed, but >this still does not al

Re: rm problem: Directory not empty

2005-09-12 Thread Brian Dessent
"James R. Phillips" wrote: > Isn't this issue a potential problem with any multitasking OS ? If there is a > windows-specific feature to this issue, I am not aware of it. In *nix, you can successfully unlink an open file. Its directory entry will be removed but its inode will remain until all o

Re: rm problem: Directory not empty

2005-09-12 Thread James R. Phillips
Isn't this issue a potential problem with any multitasking OS ? If there is a windows-specific feature to this issue, I am not aware of it. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwi

Re: rm problem: Directory not empty

2005-09-12 Thread Larry Hall
At 11:29 AM 9/12/2005, you wrote: >I've seen a bunch of similar posts online but I don't see any fixes or >resolutions. When ever I try to recursively delete a directory, I get >the following error: > >$ rm -rfv endorsed >removed `endorsed/xalan.jar' >removed `endorsed/xercesImpl.jar' >removed `en