Originally posted by V1tol
View Post
Please beware a reflink if only 1block in a file has changed that all that being written to disc + some meta data so this is fast. There is also no difference in modify a reflinked file first a normal by self file in processing time. So reflinking registry files is no problem.
Wine would be able to symlink the registery in some case if the multi user support code ever gets implemented. Yes the current wine default that you are always a admin privilege user means you are meant to have write access to all registry but when you are normal user there are particular registries you are not meant to have write access to.
Symlinking the dll applications are not meant to change ever would only be about 1/4 of the savings still disc space saving and prefix initialisation time saving.
There is another downside to symlink vs reflink. If wine is uninstalled from system install in a reflink case the contents of the wine prefix will still be intact in the home directory with the symlink this is not the case either. This difference is sometimes important when attempting to work out different errors. Yes it is possible to work out wine versions at times that have been used on wine prefix from the dll and the registry.
Yes implementing the symlinked path is a lot more complex as you have to make a list of what will be fine as read only. Read/write with the symlink/hardlink path is just not a option. ostree developers did try there is a lot more overhead to the trapping than one would think and then you have the errors where the trapping fails for some reason.
Please note I am not saying that the symlinked or hardlinked path should not be looked into. Because really it should due to broader file system support. Remember even if you have a file system that support reflink there is a reflink limitation that if wine is install on one partition and you how directory is on another reflink does not work.
I can understand doing reflink first as well. Because if you cannot get reflink to work that does not have the limitations of symlinked/hardlinks you are not going to get symlinked/hardlinked to work.
Leave a comment: