delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/05/23/12:35:46

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:reply-to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=kMgengYCA/wZrp+9
RpUGMHFGKjjhpEZuOIO9j4YUcWFi1JhC0W5fRnhgbc1SJ/qKB+My87UOeaXf1b9K
D4f6a1WiKU7zndJnSMP1Okudkevx1opT2rLEcLfaBkwokG7vJV3VwJmyJOZo4pMD
9iLd/PrvvBHMxoJHzJ+cT+olgY8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:reply-to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=3QY5E0w3HLhweoOrG47SP+
p9L9Q=; b=eqnwewGo0mvPfExsDoPwuaDk+TM2L3V6wbieP8gfhAWCxF49M5F3f5
nGCLbMcTOSm84yP2U0bBUOsRj/lbEZqfX2JQYG0rlFVfNKSLB7dIC1eW/tQVlde5
RrvxYVglk+++sXZg66nAWEvb/Spmd2+UACqJURid/vjYu7C3I4ls0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:781, advised, HContent-Transfer-Encoding:8bit
X-HELO: mail-io0-f180.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:reply-to:from:openpgp :autocrypt:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=73nB3JF56AcwcMUdShTFCtT4KguFvMKp03Mf8sAWAgc=; b=jSlK6l3HH+C+OHtrsYL9bcQH4bjBZPa17Vk7ZroGSBs1VvB3v6ySovsBOZQkREzECi EvB7kcQ1DmWwAks2cTCdFzL/BRniCZd+zqu9WAip5fofrPNn/HCG5D/8lV0Tdx84Wn1u 1Y30KDud09YnQndtI2hv2Ow7/ReQhmhcbJKisGcHdVmOziDUGRNu9cvPOScTHQbE94zA jO/DSHGkJT8mQOcwstDN99xlEWJVpQw5+JtOM4SDgJGssRuC5Pu+x2u/KbP3/AUsOyZx qQqV3YZ33A3scip6156yb+OxnAP+PF6/uXPBehqpWEZORJxb83VcrNQMnjSKDOJFtdbW GqHw==
X-Gm-Message-State: ALKqPwdtUV/887NODJb0udpAdNkjxuZzm0GXeaqaIT0myjY3DDhl6tCP YtRWoF7WHI637l6LCvkztJ0Euw==
X-Google-Smtp-Source: AB8JxZqoglmwPGyX9kxV34tLG6Jcl0n0OmC+0Rb4RnxeoSjT8T7uHcxjWlGnyGckkwxVDGylcsjxvA==
X-Received: by 2002:a6b:2a05:: with SMTP id q5-v6mr3385719ioq.252.1527093331194; Wed, 23 May 2018 09:35:31 -0700 (PDT)
Subject: Re: du core dump if run on directory being deleted?
To: cygwin AT cygwin DOT com
References: <CAPF-yOYnASHXkWwQX4AenA6N5cKX7N+M1swN5KUUmeVpqosLJA AT mail DOT gmail DOT com> <CAPF-yOb3+E8iny1ngBGgBrZKNtcvO3xxyq8kATPjA=viZUq+ng AT mail DOT gmail DOT com>
Reply-To: cygwin AT cygwin DOT com
From: cyg Simple <cygsimple AT gmail DOT com>
Openpgp: preference=signencrypt
Autocrypt: addr=cygsimple AT gmail DOT com; prefer-encrypt=mutual; keydata= xsFNBFW7cuMBEADJg9disJJSBGRlDxdAt2hR6I6Ruzm8vw+zpjEGLsYyWiBhoLV1EEmHLyhh bdPEJx0DU2sPVbTcESRiYaTOVK6wJQMFur+WZ5cUkIXfJBQPUPRUcxbjrY8MtWYguhACSP/T ZGjtxl9w92fGYLTBDqVmOb9rjEo9UbmZwDTCYhjkAvlXR/K+q6+jGgrXLIC1CpiWqE1l2yH9 RGclbNc3Yjq9RJgqiHI+VgRa2P16NteTLSrD428YJS5p8rFIYngZooNClCJsrSAZCJ2abQ40 0S+kP/lcoSph5JXIDAL6sB6hUZg9sVpL4iU2Qsm7EKDBgvw72+AGH+ApxEgijYCPe8O1aybd qq2KWOeIg40gAua3ZPq7XIGd4TGIA0kzAK0wnE1LjSWF4h/bkf8CmGn3s7upAkNa75XOKApa V2cVMmi6qdcgjCDkNQbbgvv0V4VmqQYlFXYLfzOZZB3LgydeoMERX+74aVEHKv5PxEbfwLnv 29nsKvB7yLhfYSbaHQPOIqkgMuw+bx8m1Zh9IKJv0/O8Ta/yvyW2sHWMcAAmd4t1gykbZCZa NbvKAhvIP9NWjREae+jjsJJj98mbvsI8pCFbc2coHWNAk4JyBjDcMFrhTNA+8+D5RveRERrc yFu2qU6Bl7Bz2U1VLsmo2HcmRQRO6L0CwwsIlgeZGSmyJxPzzwARAQABzStFYXJuZXN0IEJv eWQgPGVib3lkNTNlbnRlcnByaXNlc0BnbWFpbC5jb20+wsF/BBMBCAApBQJVu3LjAhsjBQkJ ZgGABwsJCAcDAgEGFQgCCQoLBBYCAwECHgECF4AACgkQcYOkK+VgItVscRAApR0Iad65JnDa 7RlhEducTNM836qBbqcsQSPoEGJ5sNhHP9VF2jB2Kd4JONyksLyVD/nU+hJwTB4SnUC5dwRo 0a4HQbYSaiLo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ln m156Aocthzl2KezLxnde44FSblHDG7LtcSxhI0CmDS/lWZl5FPswDxjexBt8uaAwCgJUdr7x u6Q3ydTst6UXrzEowtKo7utm8L823gKcNjktKhDGHpddseC5RgPIWwp7/QDb4uiPw2Y6UI3n BH6x7dYcV0bQfsHtJ1ytdWhI5GgmPZsWoLBHtZg/065R
Message-ID: <07412c91-22d5-8251-9b82-b998d6af6df7@gmail.com>
Date: Wed, 23 May 2018 12:35:28 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <CAPF-yOb3+E8iny1ngBGgBrZKNtcvO3xxyq8kATPjA=viZUq+ng@mail.gmail.com>
X-IsSubscribed: yes

On 5/22/2018 8:24 AM, Dan Kegel wrote:
> (Oh, and running du sometimes causes the delete to emit warnings like
> 
> build.deleteme.8300\src\THIRD_~1\webgl\src\sdk\tests\CONFOR~1\ogles\GL
> - 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.

-- 
cyg Simple

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019