[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] directory for config files.
- To: mint@fishpool.com
- Subject: Re: [MiNT] directory for config files.
- From: Johan Klockars <rand@cd.chalmers.se>
- Date: Mon, 27 Sep 1999 08:31:15 +0200 (MET DST)
- In-reply-to: <Pine.MNT.4.10.9909262051480.245-100000@milan> from "Frank Naumann" at Sep 26, 99 08:53:15 pm
- Sender: owner-mint@fishpool.com
> > Since we want to limit the loading to "." and the directory mint.cnf is
> > found in (whichever of the two this is), this might be done using a command
> > in mint.cnf (provided mint.cnf is parsed before loading the XDDs). Frank?
>
> The mint.cnf is loaded after xdd/xfs initialization.
Then just load it twice.
I did that when I added a mint.cnf option for turning on/off memory
protection and it worked perfectly.
(I normally only keep a 'boot-loader' in c:/auto (with the rest of the
auto-programs scattered across three or four partitions on two different
drives) and I didn't want to rename that to MINTNP.PRG, which would
otherwise have been necessary since MiNT itself wouldn't know where it
was run from.)
The 'pre-load' can be rather simple since it only has to search for a
couple of well defined options, such as
protected
boot c:/mint
Anything else would just be skipped.
--
Chalmers University | Why are these | e-mail: rand@cd.chalmers.se
of Technology | .signatures | johan@rand.thn.htu.se
| so hard to do | WWW/ftp: rand.thn.htu.se
Gothenburg, Sweden | well? | (MGIFv5, QLem, BAD MOOD)