How to disable autocreation symlinks in dosdevices? [SOLVED]

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Vadim
Newbie
Newbie
Posts: 2
Joined: Thu Jul 19, 2012 4:00 pm

How to disable autocreation symlinks in dosdevices? [SOLVED]

Post by Vadim »

What is the easiest way to prevent wine 1.5.9 (I use git version) from creating device symlinks in dosdevices directory which wine currently does every run?
Some version ago wine didn't have such behavior and it was enough to patch dlls/ntdll/server.c to remove unnecessary static symlink (z:, for instance).
Now I removed a lot of code from dlls/mountmgr.sys/devices.c and I cannot be sure that I will not have problems because of that.
Are subroutines in this file really what I need to remove? Or, may be, there is another, more safe way to do what I want? What part of code is "minimum minimorum" to delete? Will deleting "create_dos_device" function be enough?

Thanks in advance for your attention.

P.S. I apologize for my English. It isn't my native language.
Last edited by Vadim on Thu Jul 19, 2012 5:22 pm, edited 1 time in total.
Vadim
Newbie
Newbie
Posts: 2
Joined: Thu Jul 19, 2012 4:00 pm

Post by Vadim »

Hmmm.... Seems I'm an idiot. Probably it would be enough to run ./configure with --without-dbus option to do job. And do not patch anything.
If this way will work, I will mark topic as "solved".
dma_k
Level 1
Level 1
Posts: 5
Joined: Wed Jun 19, 2013 11:02 am

Re: How to disable autocreation symlinks in dosdevices? [SOL

Post by dma_k »

I would vote for this feature/option with both my hands. In my case I have a lot of loop-mounts which are not real devices. Recompiling wine is really a challenge...
Locked