On Thu, Dec 18, 2008 at 3:07 PM, Michael Ost most@museresearch.com wrote:
Michael Karcher wrote:
Am Donnerstag, den 18.12.2008, 14:53 -0800 schrieb James Hawkins:
I don't understand the problem. If you have the proper permissions, wine should be able to read the volume name and everything should just work. What does volname give you for the network-mounted image?
He is not mounting an image, but a mounted CD-ROM drive.
Right.
[most@Deceptor ~]$ mount (snip) //x.y.z.w/remotex on /home/most/.wine/drive_x type cifs (rw,mand)
[most@Deceptor ~]$ ll ~/.wine/dosdevices/ total 0 lrwxrwxrwx 1 most most 10 2008-12-18 11:56 c: -> ../drive_c lrwxrwxrwx 1 most most 10 2008-12-17 11:34 x: -> ../drive_x
GetVolumeInformation's CreateFile("\\.\X:") call fails with status c0000034. So it tries get_filesystem_label, which tries to read "//x.y.z.w/remotex/.windows-label" via the symlinks.
I can't write a file there so I can't fake in the label.
My thought was to store the label in the registry and use that as a fallback if there is no .windows-label file. I'm all ears for alternate approaches though.... mo
Have you tried setting the drive type to CD in winecfg?