RFC: reducing wasted disk space from addon files

Gabriel Ivăncescu gabrielopcode at gmail.com
Wed Mar 6 07:40:37 CST 2019


On 3/6/19 3:35 PM, André Hentschel wrote:
> Hi,
> 
> just my two cents on it.
> 
> Can't we keep the shared stuff in the home directory? It would be 
> user-wide instead of system-wide, but already a reduction and we 
> wouldn't need to mess with access restrictions in /usr. Possible naming: 
> $HOME/.wine-addons-gecko $HOME/.wine-addons-mono
> 
> Another idea would be to outsource this topic to steam or even better 
> winetricks. Most filesystems in use support hardlinks, a winetricks verb 
> with wine prefixes as arguments that hardlinks all gecko/mono stuff in 
> them (if their shaXXX hash match) looks very easy and suitable to me and 
> steam could use it too. That way the prefix remains transferable.
> 
> 

This gives me an idea. Why not have it in the wine directory? This way 
it can be decided whether to have it system-wide or $HOME or anywhere 
else you place Wine to.

I do agree with the gist of your idea though, and hard linking sounds 
more reasonable if that can be pulled off.



More information about the wine-devel mailing list