--- Tony Lambregts <[EMAIL PROTECTED]> a écrit : > 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 problem is that we don't check the status of DRIVE_FindDriveRoot, as you spotted it. The sources clearly states that -1 is error.
> > > > 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 > > > ===== Sylvain Petreolle [EMAIL PROTECTED] Fight against Spam ! http://www.euro.cauce.org/en/index.html ICQ #170597259 "Don't think you are. Know you are." Morpheus in Matrix, chapter 15. ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com