volume names of mounted iso images

Alexandre Julliard julliard at winehq.org
Tue May 8 07:32:41 CDT 2007


"James Hawkins" <truiken at gmail.com> writes:

> I've looked into the problem a bit more.  It seems the only way to add
> a dos device is through explorer, by way of hal.  This works fine for
> a CD in the physical drive, as hal notifies explorer that there is a
> CD in the drive, and explorer adds the CD to the list of dos devices.
> Mounted ISO files, on the other hand, are not reported by hal, as
> loopback devices are not supported by hal.  When winecfg, or any other
> app for that matter, calls GetVolumeInformation("D:\\"), we attempt to
> open the device using CreateFile("\\\\.\\D:").  This fails because the
> mounted ISO drive has not been added to the dos device list.

No, as long as you have a drive for it the device should be
autodetected. It probably fails because you don't have permission to
open the corresponding device (something like /dev/loop0).

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list