git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [BUG] "git clean -df ." silently doesn't delete folders with stale .nfs* files

From
''Yuri' <yuri@rawbw.com>
Date
Jun 13, 2024, 09:21 UTC
Message-ID
<7fb83cd9-5a15-41d8-b047-c69e9026e4b2@rawbw.com>
In-Reply-To
<ZmqpQ4FkfXRm2jAE@lan>
On 6/13/24 01:09, Gabor Gombas wrote:
> $ git clean -df [there is no output - bingo] $ git clean -dfx warning: 
> failed to remove xx/.nfs[... long hex number...]: Device or resource busy
'git -dfx' does warn about the .nfsNNN files.
It turns out that my git repository has .nfs* files in the ignore list.
So it silently keeps these files with the -df flags.
Yuri
Previous: Gabor GombasNext: rsbecker@nexbridge.com
Message 15 of 17 in “[BUG] "git clean -df ." silently doesn't delete folders with stale .nfs* files”
  1. YuriJun 10, 2024
  2. Junio C HamanoJun 10, 2024
  3. YuriJun 10, 2024
  4. Junio C HamanoJun 10, 2024
  5. YuriJun 10, 2024
  6. rsbecker@nexbridge.comJun 10, 2024
  7. Junio C HamanoJun 11, 2024
  8. 'Yuri'Jun 11, 2024
  9. rsbecker@nexbridge.comJun 11, 2024
  10. 'Yuri'Jun 11, 2024
  11. Chris TorekJun 11, 2024
  12. Jeff KingJun 11, 2024
  13. 'Yuri'Jun 11, 2024
  14. Gabor GombasJun 13, 2024
  15. 'Yuri'Jun 13, 2024
  16. rsbecker@nexbridge.comJun 11, 2024
  17. 'Yuri'Jun 11, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.