[PATCH v3 0/5] Implement reflink support

Stefan Dösinger stefandoesinger at gmail.com
Tue Aug 24 06:24:43 CDT 2021



> Am 23.08.2021 um 18:56 schrieb Alex Xu (Hello71) <alex_y_xu at yahoo.ca>:
> 
> If hard links or symlinks were
> used, if an application such as winetricks writes to a system file, it
> would overwrite the central copy. With reflink, the file blocks will be
> transparently copied by the Linux kernel so that each Wine prefix can be
> independent.

What happens if the Wine installation files themselves are updated, e.g. because the package manager installs a newer Wine? With enough wine changes a wine prefix update will be triggered; Do your setupapi changes update the reflinked files to new reflinked files?

A presumably preexisting problem that is already handled: What happens if I run Wine out of my build tree. It creates a new prefix with a copy of PE d3d9.dll. I change the d3d9 code and recompile d3d9.dll in my build tree and run Wine. What will the result be? (I say preexisting because even without reflink somehow Wine uses my newly updated file. But do applications that look at C:\windows\system32\d3d9.dll see the new contents too?)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210824/48580dab/attachment.sig>


More information about the wine-devel mailing list