Wine 3.0 rewrites com symlinks

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
pho
Level 1
Level 1
Posts: 6
Joined: Wed Jan 31, 2018 3:44 am

Wine 3.0 rewrites com symlinks

Post by pho »

After installing Wine 3.0 met with a problem that Com port symlinks in /.wine/dosdevices are rewrites automaticaly.
For example i made symlink /dev/ttyS0 to com4, after a minute it rewrites to com1.
In Wine 2.* i haven't such problem.
Can you help me, where this feature\bug is switching off?
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine 3.0 rewrites com symlinks

Post by dimesio »

pho
Level 1
Level 1
Posts: 6
Joined: Wed Jan 31, 2018 3:44 am

Re: Wine 3.0 rewrites com symlinks

Post by pho »

This page is about how to config simlink, but i want to disable this feature.
Now i have 31 symlinks created automaticly by wine. They for some reason otherwrites already created symlinks.
I hope that there is an opportunity to disable this, without downgrading wine version .
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine 3.0 rewrites com symlinks

Post by dimesio »

AFAIK, it can't be disabled. If you follow the instructions I linked you to, which includes adding the necessary registry entries, your changes should not be overwritten.
pho
Level 1
Level 1
Posts: 6
Joined: Wed Jan 31, 2018 3:44 am

Re: Wine 3.0 rewrites com symlinks

Post by pho »

Thank's! Looks like temporary, but solution.
pho
Level 1
Level 1
Posts: 6
Joined: Wed Jan 31, 2018 3:44 am

Re: Wine 3.0 rewrites com symlinks

Post by pho »

UPD:
The solution helps to solve the problem partially, but not to the end. Some com ports are also overwritten.
I think the best solution is downgrade to version <2.8.
It is unclear why this feature was added....
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine 3.0 rewrites com symlinks

Post by dimesio »

If you've followed the instructions in the wiki and your changes are still being overwritten in the current development release, file a bug.

The feature was added so users wouldn't have to manually create symlinks.
pho
Level 1
Level 1
Posts: 6
Joined: Wed Jan 31, 2018 3:44 am

Re: Wine 3.0 rewrites com symlinks

Post by pho »

Could understand why the system creates sym-links if the system had real-life com ports, but they are not. Why, in this case, in .dosdevices I'm getting 32 virtual com ports not clearly.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine 3.0 rewrites com symlinks

Post by dimesio »

pho wrote:Why, in this case, in .dosdevices I'm getting 32 virtual com ports not clearly.
Because they exist on the host system.
pho
Level 1
Level 1
Posts: 6
Joined: Wed Jan 31, 2018 3:44 am

Re: Wine 3.0 rewrites com symlinks

Post by pho »

On what host system?
Maybe I'm not quite clearly described the system - right now I'm talking about a real computer, not virtual disk or system.
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine 3.0 rewrites com symlinks

Post by dimesio »

By host system I mean the operating system you are running Wine in. In Linux, take a look in /dev; my system shows 32 ttyS* devices there, none of which are real hardware. Wine creates symlinks and registry entries based on what the operating system says exists.
Locked