From fnaumann@mail.cs.uni-magdeburg.de Tue Sep 14 07:47:24 2004 Date: Tue, 14 Sep 2004 07:43:41 +0200 (CEST) From: Frank Naumann X-X-Sender: fnaumann@wh58-508.st.uni-magdeburg.de To: mint@lists.fishpool.fi Subject: Re: [MiNT] MiNT system directory In-Reply-To: <200409140102.50684.milarb@volny.cz> Message-ID: References: <200409132333.58698.krupkaj@ol.ngbox.cz> <200409140036.22569.milarb@volny.cz> <200409140102.50684.milarb@volny.cz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Score: -4.9 (----) X-Spam-Report: ---- Start SpamAssassin results -4.9 points, 5.0 required; -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] ---- End of SpamAssassin results X-Scan-Signature: 8f557e09c6f25d1c731b1614156185f1 Delivered-To: mint@lists.fishpool.fi X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: fnaumann@cs.uni-magdeburg.de Precedence: bulk List-help: List-unsubscribe: List-ID: X-List-ID: X-Milter: ClamAV 0.70/0.70kjel X-Milter: milter-regex 1.5jel X-Milter: ClamAV 0.70/0.70kjel X-Milter: milter-regex 1.5jel Hello! > Interesting. But will it solve the problem of starting kernel from arbitrary > directory on arbitrary drive without the need to specify it on commandline? > Let's say I want to launch /d/dist/osmd/kernel.prg (which is of course > mint.prg), but do not want to use modules from /c/mint/(1-16-*) because I > have my own in /d/dist/osmd/, which could easily > become /e/osmd/, /g/betatest/osmd/, /a/ or whatever. You simply only need a small program that determine sysdir and then load kernel with this argument. This are 10 lines in C. I don't like to add error-prone sysdir detecting code just for the very rare case that someone install FreeMiNT. My experience is that it's very confusing if the kernel search in several dirs for it's configuration or load it's modules from several dirs. This was a point of misconfiguration and problems in the past. Regards, Frank -- ATARI FALCON 060 // MILAN 060 ----------------------------------------- http://www.cs.uni-magdeburg.de/~fnaumann/ e-Mail: fnaumann@freemint.de