From: "Stefan Dösinger" Subject: Re: [PATCH v3 0/5] Implement reflink support Message-Id: <3FC301D9-63EA-479E-BE30-FB1C7DC59CD6@gmail.com> Date: Tue, 24 Aug 2021 14:24:43 +0300 In-Reply-To: <20210823155653.228592-1-alex_y_xu@yahoo.ca> References: <20210823155653.228592-1-alex_y_xu.ref@yahoo.ca> <20210823155653.228592-1-alex_y_xu@yahoo.ca> > Am 23.08.2021 um 18:56 schrieb Alex Xu (Hello71) : > > 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?) -----BEGIN PGP SIGNATURE----- iQIyBAEBCAAdFiEEQxb0tqoFWyeVMl1sPRO8yFRPGiIFAmEk1vsACgkQPRO8yFRP GiKw0Q/42K4Ld2hf7Is/4lz0KDgvDnC52tJ/CacuZ5ghmYKRsy6elk75/qlu0Hx4 kS+HGNGtxpV5lJXpKgmD1mRRhb4kIYZAqRPx+FadO7gMKjCndUxtMePPmI5Ee6r9 4yds0DkPB28k5EMzJA1tzFFkZKtDLC5ujuBbqkOc5ev3gVmPWXRiI43rnrDtiPeQ GChjPdxhDZglHcaaTHl1p0xGARsx/LgxuV3wNdhUkwLlJtfYrZqCVBUpwP79yFV0 NcNLv3CzpS4zT3qfKIxa/+ijhI1oAPZNJDdUcl+W5MGuK66PbMQN8otkaKWjEvx7 nC3f/ll8ip/z2vTd8O7x5BnKp4jTyu+yrnTLrDiAE7b60+Ok6pQiClbSg4b3NdK3 Y1RSvOSTWWvqWs/Sp4PvYJXx/S46G9xXy05zVrk7iD3GrKNkBTx6A8FZofghA3Ya /X0WLe93eIvP5MDcnhujJcnaCJPvzx7gpH83lBbAOFYxPL5WO2f7wPdKHoyDX6eo 1abP5CKiZSE793bo4lWcZANGM6KYX/aPaeYfC1VAFd63vvY0U9Q5jvaGE2Hau1zA YVGhWN7wI5T9T4FBZVMi++XEoI9cJQTRTeNC2C8+3lnE+9Hdh71Jb/QS/ezzLcHp o5gB1HYF37MvzpIPaxMs9hXrmHtXWt1IhVmmEq1fp7vdP4VW+A== =FrS8 -----END PGP SIGNATURE-----