Drives directory
After a fresh install of dosemu 1.4 (I used the Debian package) there is a directory ~/.dosemu/drives which contains lrwxrwxrwx 1 jws users 25 2007-06-17 10:54 c - /home/jws/.dosemu/drive_c lrwxrwxrwx 1 jws users 23 2007-06-17 10:54 d - /usr/lib/dosemu/drive_z (I suppose in the .rpm version the link d would point at /usr/share/dosemu/drive_z). What do these links do? After starting dosemu, the D: drive is $HOME, not /usr/lib/dosemu/drive_z (which is Z:). It must be the AUTOEXEC.BAT in ~/.dosemu/drive_c that does this, but why? And how does it work? Regards, Jan - To unsubscribe from this list: send the line unsubscribe linux-msdos in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Drives directory
On 6/17/07, Jan Willem Stumpel [EMAIL PROTECTED] wrote: After a fresh install of dosemu 1.4 (I used the Debian package) there is a directory ~/.dosemu/drives which contains lrwxrwxrwx 1 jws users 25 2007-06-17 10:54 c - /home/jws/.dosemu/drive_c lrwxrwxrwx 1 jws users 23 2007-06-17 10:54 d - /usr/lib/dosemu/drive_z (I suppose in the .rpm version the link d would point at /usr/share/dosemu/drive_z). Yes What do these links do? After starting dosemu, the D: drive is $HOME, not /usr/lib/dosemu/drive_z (which is Z:). It must be the AUTOEXEC.BAT in ~/.dosemu/drive_c that does this, but why? And how does it work? CONFIG.SYS cannot see drive Z: yet (a DOS limitation: DOS just assigns C:, D:, etc) so it temporarily uses drive D: instead to access the relevant files (ems.sys, lredir.exe, etc). Then the lredir command is used in config.sys and autoexec.bat to set the drives to what you see after starting dosemu. D: is set to $HOME because it was there in 1.2.x too. Bart - To unsubscribe from this list: send the line unsubscribe linux-msdos in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Drives directory
Bart Oldeman wrote: CONFIG.SYS cannot see drive Z: yet (a DOS limitation: DOS just assigns C:, D:, etc) so it temporarily uses drive D: instead to access the relevant files (ems.sys, lredir.exe, etc). Then the lredir command is used in config.sys and autoexec.bat to set the drives to what you see after starting dosemu. D: is set to $HOME because it was there in 1.2.x too. Thanks.. this explains a lot. BTW my DOS knowledge must be getting rusty. I always thought the LASTDRIVE=Z statement in CONFIG.SYS was supposed to take care of that. But, yes, I tried it now and it doesn't. Must read up on it.. Regards, Jan - To unsubscribe from this list: send the line unsubscribe linux-msdos in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html