I wonder if someone can help me: I can't seem to be able to set the drive label for a CD image mounted under wine
first, I'm mounting the CD image under Linux using mount -o loop, where it appears under say /mnt/disk
then, using winecfg, I assign a driver letter (say: G:) to /mnt/disk. here in the advanced tab, I also specify the disk label
but, when I start wine explorer, the G: drive doesn't have a label. also, when I go back to winecfg, the label information is lost - it seems this is not saved at all
I tried with with wine 1.2 and 1.3 as well (both on Ubuntu)
unable to set drive label
Re: unable to set drive label
Correct, you can't. Unless that image already has valid disk label, that Wine will read.akosmaroy wrote:I wonder if someone can help me: I can't seem to be able to set the drive label for a CD image mounted under wine
You can't set iso image label with Wine, since it will require you to create a special file. And in most cases you can't write into the image (it's mounted read-only).
Re: unable to set drive label
the iso image itself has a label - and this is what I'd want wine to see. but as wine sees the image only through the Linux filesystem, it doesn't see the label anymore.vitamin wrote:Correct, you can't. Unless that image already has valid disk label, that Wine will read.akosmaroy wrote:I wonder if someone can help me: I can't seem to be able to set the drive label for a CD image mounted under wine
You can't set iso image label with Wine, since it will require you to create a special file. And in most cases you can't write into the image (it's mounted read-only).
is there a way to mount an iso image directly under wine, so that it would see the disk label? or any other way to simulate a CD-ROM with a specific label?
Re: unable to set drive label
It does. Make sure that you properly mapped the drive and that ~/.wine/dosdevices/drive:: (two colons) point to the iso image.akosmaroy wrote:the iso image itself has a label - and this is what I'd want wine to see. but as wine sees the image only through the Linux filesystem, it doesn't see the label anymore.
Ex:
Code: Select all
sudo mount ~/archive/disk.iso /mnt/disk -o loop,ro
ln -s /mnt/disk ~/.wine/dosdevices/g:
ln -s ~/archive/disk.iso ~/.wine/dosdevices/g::
Re: unable to set drive label
thanks - will give it a shot!vitamin wrote:It does. Make sure that you properly mapped the drive and that ~/.wine/dosdevices/drive:: (two colons) point to the iso image.akosmaroy wrote:the iso image itself has a label - and this is what I'd want wine to see. but as wine sees the image only through the Linux filesystem, it doesn't see the label anymore.
Ex:Code: Select all
sudo mount ~/archive/disk.iso /mnt/disk -o loop,ro ln -s /mnt/disk ~/.wine/dosdevices/g: ln -s ~/archive/disk.iso ~/.wine/dosdevices/g::