<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<br>
<br>
<div class="moz-cite-prefix">On 06/04/2023 15:22, Fabian
Meumertzheim wrote:<br>
</div>
<blockquote type="cite" cite="mid:CALR1tuPYK7Ekf-i-Ub4s2bXPhq2rB_5W-DPDV7oNpxRhecDoxA@mail.gmail.com">
<div dir="ltr">:<br>
<div class="gmail_quote">
<div><br>
</div>
<div>It looks like `Files#isSameFile()` is already backed by
these fields though: <a href="https://urldefense.com/v3/__https://github.com/openjdk/jdk/blob/ddd50d0db31e50c0fcedafa290d6eac277ddae3e/src/java.base/windows/classes/sun/nio/fs/WindowsFileAttributes.java*L349-L356__;Iw!!ACWV5N9M2RV99hQ!P2FgkNydmuds-x_7fAwA1mycw0Ah5_5Fc_O2AL9kuYZVT8Fs6Vz2kLc58QyWAHH1VQv-7os-RtBCS5JL7ifrXg$" moz-do-not-send="true">https://github.com/openjdk/jdk/blob/ddd50d0db31e50c0fcedafa290d6eac277ddae3e/src/java.base/windows/classes/sun/nio/fs/WindowsFileAttributes.java#L349-L356</a>. </div>
<div>Issues with volume serial number and file ID as unique
identifiers should thus already be reachable directly via
public API.</div>
<br>
</div>
</div>
</blockquote>
There has been a number of reports of problems there, WebDAV
locations come to mind. At some point I think we tried to get a list
from Microsoft of the volume types where there is at least some
temporal stability.<br>
<br>
-Alan<br>
</body>
</html>