From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bart Oldeman Subject: Re: What kind of files are config.lnk and autoexec.lnk? Date: Sat, 18 Apr 2009 16:20:02 -0400 Message-ID: References: <49E932B6.5070909@mindspring.com> <49EA0A27.5000302@mindspring.com> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=OamO7w53XmU42mYdG+Q9pJwrrWedWcYvjAdk1C8Lk7w=; b=teVkSyOaNqZyqZ1X1XE50WRckzhe6dTko5saY8CYJStB5sHYh0gMhV1ARz+I6d/m2E aveUP8O8tmaSrw9Im2hP7AWwVZduOgFNA8SF5+e1RBsgzy57gPkoy+meWBF36qadAgRR 1Fw17L4xZDqXdBWANTAM2x8FScKseG42pQsuE= In-Reply-To: <49EA0A27.5000302@mindspring.com> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1" To: Larry Alkoff Cc: dosemu 2009/4/18 Larry Alkoff : > In further experiments, I have found that config.sys and autoexec.bat= in > ~/.dosemu/drive_c is not executed. =A0It seems config.sys and autoexe= c.bat in > /etc/dosemu/freedos/ are being executed. =A0Are these the files I sho= uld edit > to make dosemu run the way I want? I'm not sure where your .lnk files come from but: have a look at ~/.dosemu/boot.log after running dosemu which directory is used as drive C: a line like: device: /home/bart/.dosemu/drives/c type 4 h: -1 s: -1 t: -1 drive C= : in that case the config.sys file comes from ~/.dosemu/drives/c which is normally set up as a symlink to ~/.dosemu/drive_c so that's indeed where you should be looking. However, in Debian/Ubuntu's DOSEMU (perhaps by accident) we have this: /home/bart/.dosemu/drives: total 0 lrwxrwxrwx 1 bart users 26 avr 18 16:14 c -> /home/bart/.dosemu/drive_c lrwxrwxrwx 1 bart users 23 avr 18 16:14 d -> /usr/lib/dosemu/drive_z /home/bart/.dosemu/drive_c: total 4 lrwxrwxrwx 1 bart users 32 avr 18 16:14 autoexec.bat -> /etc/dosemu/freedos/autoexec.bat lrwxrwxrwx 1 bart users 30 avr 18 16:14 config.sys -> /etc/dosemu/freedos/config.sys drwxrwxr-x 2 bart users 4096 avr 18 16:14 tmp So config.sys is really a symlink to the file in /etc/dosemu/freedos. But in dosemu installations from dosemu.org it's a writable file *copied* from the system file so users can edit it in DOSEMU. /home/bart/.dosemu/drive_c: total 12 -rw-r--r-- 1 bart users 556 mai 6 2007 autoexec.bat -rw-r--r-- 1 bart users 346 mai 6 2007 config.sys drwxrwxr-x 2 bart users 4096 avr 18 16:16 tmp So yes, either edit the /etc/dosemu/freedos files using a Linux editor as root (but these affect all users!) or change the symlinks to copies. Bart -- To unsubscribe from this list: send the line "unsubscribe linux-msdos" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html