Serious problem with / and mount points
Tony Lambregts
tony_lambregts at telusplanet.net
Sat Dec 14 13:02:42 CST 2002
Jeff Smith wrote:
> What I have so far:
> in files/dos_fs.c:1343, drive is receiving the value -1.
> at line 1358, this is blindly added to 'A'. As you may
> know, in ASCII, 'A' - 1 = '@'.
>
> The next step is to determine why DRIVE_FindDriveRoot is
> returning -1.
Well the reason DRIVE_FindDriveRoot is returning -1 is that
DOSDrives[drive].ino does not equal st.st_ino anymore. Line 440 of
drive.c is as follows
if ((DOSDrives[drive].dev == st.st_dev) &&
(DOSDrives[drive].ino == st.st_ino))
>
>
> BTW, the same occurred in the reverse situation:
> (konsole) mount /mnt/cdrom
> (konsole) wcmd
> (wcmd) D:
> (wcmd) dir
> (konsole) umount /mnt/cdrom
> (wcmd) dir
> Now I am at @>
> If I remount and dir again, I am back to D>
>
Same problem with floppys too.
--
Tony Lambregts
More information about the wine-devel
mailing list