On Mon, Oct 05, 2020 at 11:20:48PM +0200, Johannes Schindelin wrote: > > > > Note that the ntfs magic prefix names in the tests come from the > > > > algorithm described in e7cb0b4455 (and are different for each file). > > > > > > Doesn't block this patch, but I'm curious: how hard would it be to make > > > a test with an NTFS prerequisite that makes sure we got the magic prefix > > > right? > > > > I suspect hard since Dscho punted on it in the original series. :) If I > > understand correctly, it would require having an NTFS filesystem, and > > generating 10,000+ files with a clashing prefix. > > It's not quite _as_ bad: you only need to generate 4 files with a clashing > prefix and then the real one: Ah, that really isn't that bad, then. Still, I don't mind leaving this as-is under the notion that if the algorithm does change, it would likely make it onto your radar anyway (or the radar of _anybody_ who would raise the issue). -Peff