From: 'Yuri' Date: Tue, 11 Jun 2024 07:43:51 GMT Subject: Re: [BUG] "git clean -df ." silently doesn't delete folders with stale .nfs* files Message-ID: In-Reply-To: <20240611064847.GC3248245@coredump.intra.peff.net> On 6/10/24 23:48, Jeff King wrote: > $ git clean -df . warning: failed to remove > xx/.nfs0000000002c8197f00000002: Device or resource busy Which makes > sense, since the kernel fails our unlink() call. Maybe your system > behaves differently at the syscall level? The system I observed the problem is Centos with the kernel 3.10.0-1160.76.1.el7.x86_64 (10 years old). "rm -rf xx" command also says Device or resource busy But git-2.43.0 doesn't say anything. Yuri