Absolute Junction Points/Symlinks

Erich E. Hoover erich.e.hoover at gmail.com
Sat May 16 20:16:23 CDT 2020

On Sat, May 16, 2020 at 5:03 PM Esme Povirk (they/them) <
vincent at codeweavers.com> wrote:

> Doesn't it defeat the purpose of using symlinks that resolve properly
> if they only work inside wine processes?

The way this is put together you can run "wineprefix <program> <arguments>"
to allow these symlinks to resolve properly.  The default behavior (no
arguments) is to open bash, and this behavior propagates such that
applications run within the shell work the same way, a couple examples:
ehoover at lappy:~$ wineprefix
ehoover at lappy:/??/C:$ echo "TEST" | gpg -c --batch --yes --passphrase
"test" --output /??/C:/TEST/test.gpg -
ehoover at lappy:/??/C:$ exit
ehoover at lappy:~$ wineprefix gpg -d /??/C:/TEST/test.gpg
gpg: AES256 encrypted data
gpg: encrypted with 1 passphrase
So, the symlinks do work for non-wine processors (when launched with the
special LD_PRELOAD).

Also, this is only necessary for within-prefix links - any symlinks
targeting outside the prefix would not require any special treatment.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200516/9faea43d/attachment.htm>

More information about the wine-devel mailing list