On Sat, 23 Nov 2024, Cedric Blancher via Cygwin wrote:

> Good afternoon!
>
> Does Cygwin do a silly rename if a Cygwin file is open but gets
> /bin/rm at the same time?

Yes!  See function try_to_bin in winsup/cygwin/syscalls.cc:
      /* Create unique filename.  Start with a dot, followed by "cyg"
         transposed into the Unicode low surrogate area (U+dc00) on file
         systems supporting Unicode (except Samba), followed by the inode
         number in hex, followed by a path hash in hex.  The combination
         allows to remove multiple hardlinks to the same file. */

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

Reply via email to