[Bug 2356] HD reported as device when mountpoint matches logical link in dosdevices

Wine Bugs wine-bugs at winehq.org
Mon Jul 12 12:19:23 CDT 2004


http://bugs.winehq.org/show_bug.cgi?id=2356





------- Additional Comments From rklazes at xs4all.nl  2004-12-07 12:19 -------
> Sorry, but I can't see your point in my case.
> You are correct if we speak of of a CD-ROM or Floppy.
> I could maybe even accept this for a FAT or NTFS partition, but I cannot
> understand what a windows app should do with a ReiserFS formated partition ?

Your program doesn't know anything about a Linux file system. Perhaps it did an
API call to see what the filesystem is and follows the result (VFAT, NTFS,
Network, CDROM etc. ).

> Especially when that partition is already mounted and it is not even user
> mountable. Obviously linux doesn't allow it anyway resulting in the error code
> c0000022.

I was thinking it was the RW permissions of /dev/hdb5 .

> In this case wine can clearly assume that the drive letter was intended to
> describe a "logical" wine HD rather than a device or volume.

Not possible, it is a windows program that has no knowledge about "logical" wine
HD's. The program "knows" that it is a Windows volume, and wine has to emulate that.

As far as I understand what you want is a way to make the emulated "L:" behave
the same way whether dosdevices/l: points to a mount point or not. Perhaps
something is possible with the dosdevices/l:: link that points to the device if
it exists.

Did you happen to notice what the CreateFile() returns and what the LastError()
was in those cases?



-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list