Gavriel State gav@transgaming.com writes:
I don't doubt that we don't want to be parsing /etc/mtab on each CreateFile, but I will put in a word for some modifications to the configuration philosophy when it comes to drive letters.
Sure, I'm absolutely not opposed to that. It's clear that the current mechanism is not very user-friendly nor very flexible. The first thing to do would be to make it possible to change drive mappings at run-time, and then have them integrated as much as possible with the Unix environment, detecting all local filesystems, partition types, media changes, possibly even calling mount/umount from Wine, etc.
What I want to avoid, and your patch is a good example of that, is the multiplication of ad-hoc hacks that solve a very specific problem without addressing the more global issue. Both your patch and Stefan's UNC patch contain pieces that will be part of the global solution; but they need to fit in a more general framework to be acceptable.