.... and on a slightly related note, I am wondering how hard it would be to allow wine to alter drive mappings at runtime. The reason I ask is that it'd be nice for the "add drive" dialog in winecfg to use the shell directory chooser that shows all directories on the system rather than forcing the user to type in a path manually, which is error prone.
To do that, of course we need a few things:
* the ability to map / if it's not already mapped (or maybe we should just force / to always be mapped to drive Z in the wine code) * the ability to switch off drive letters showing through in the directory chooser dialog, so it's less confusing to see this magic letter appear.
Thoughts on how hard this is? thanks -mike
-----Original Message----- From: wine-devel-admin@winehq.org [mailto:wine-devel-admin@winehq.org]On Behalf Of Mike Hearn Sent: 07 September 2003 14:53 To: Wine Devel Subject: Dynamically altering drive mappings at runtime
.... and on a slightly related note, I am wondering how hard it would be to allow wine to alter drive mappings at runtime. The reason I ask is that it'd be nice for the "add drive" dialog in winecfg to use the shell directory chooser that shows all directories on the system rather than forcing the user to type in a path manually, which is error prone.
I belive Eric has already proposed being able to dynamically 'mount' parts of the Unix file system into the Wine file system as part of his file function rewrite. Eric: how are you progressing on this?
To do that, of course we need a few things:
- the ability to map / if it's not already mapped (or maybe we should
just force / to always be mapped to drive Z in the wine code)
This will probably start another flame war, but I am in favour of the default Z mapping. However, we could always map Z whenever we need it (e.g. loading the debugger) with a slight extension of the SetVolumeMountPoint Win32 API.
- the ability to switch off drive letters showing through in the
directory chooser dialog, so it's less confusing to see this magic letter appear.
I believe there is a registry setting for this under Windows that tells Shell32 views to not display certain drives. I can't remember where this setting is though...
Rob
Robert Shearman wrote:
-----Original Message----- From: wine-devel-admin@winehq.org [mailto:wine-devel-admin@winehq.org]On Behalf Of Mike Hearn Sent: 07 September 2003 14:53 To: Wine Devel Subject: Dynamically altering drive mappings at runtime
.... and on a slightly related note, I am wondering how hard it would be to allow wine to alter drive mappings at runtime. The reason I ask is that it'd be nice for the "add drive" dialog in winecfg to use the shell directory chooser that shows all directories on the system rather than forcing the user to type in a path manually, which is error prone.
I belive Eric has already proposed being able to dynamically 'mount' parts of the Unix file system into the Wine file system as part of his file function rewrite. Eric: how are you progressing on this?
slowly, but surely. I do have a running version of the infra, without all the required best & whistles yet. Anyway, I'm not 100% sure that current drive configuration layout will stay as it is... so, it may not be urgent to implement this (we anyway need something in place until all the file I/O rewrite has been done) A+