Re: du core dump if run on directory being deleted?
- Date: Wed, 23 May 2018 12:35:28 -0400
- From: cyg Simple <cygsimple@xxxxxxxxx>
- Subject: Re: du core dump if run on directory being deleted?
On 5/22/2018 8:24 AM, Dan Kegel wrote:
> (Oh, and running du sometimes causes the delete to emit warnings like
> - The directory is not empty.
> Evidently du holds the directory open, or something. )
While doing this on *NIX OS systems doing the same on Windows is not
advised. Yes du would hold a directory open while it is summarizing the
sizes causing Windows to not to be able to delete it. This works on
*NIX OS because it uses inode scheme while Windows doesn't do this.
With an inode, the inode can be deleted while the corresponding entry
can remain open until it is closed. There are just some things that
cannot be emulated.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple