Message-ID: <3CD69E08.585500C0@dit.upm.es>
Date: Mon, 06 May 2002 17:15:20 +0200
From: Javier Sedano <jsedano@dit.upm.es>
X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.17 i686)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.minix
Subject: Re: Reducing kernel size
References: <3CD24FD8.EB416D1@dit.upm.es> <3cd3f0df$1@oit.umass.edu>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Original-NNTP-Posting-Host: taran2.dit.upm.es
X-Original-Trace: 6 May 2002 17:26:59 +0200, taran2.dit.upm.es
Lines: 36
NNTP-Posting-Host: 138.4.2.12
X-Trace: 6 May 2002 17:20:32 +0100, 138.4.2.12
Path: bunyip.cc.uq.edu.au!harbinger.cc.monash.edu.au!enews.sgi.com!news-ge.switch.ch!news.rediris.es!news-2.rediris.es!138.100.251.9.MISMATCH!news.upm.es!news.dit.upm.es!taran2.dit.upm.es
Xref: bunyip.cc.uq.edu.au comp.os.minix:38712
X-Cache: nntpcache 1.0.7.1 (see ftp://suburbia.net/pub/nntpcache)

Albert S Woodhull wrote:
> 
> The place to make changes is in the configuration header,
> /usr/include/minix/config.h. That is where all the "#define ENABLE_*
> definitions are made.
> 

	Yeah, but some of the drivers are always included, no matter what you
set in config.h... for example, floppy or printer.

> I believe that Minix 2.0.3 gives a lot more flexibility in this regard
> than earlier versions, for instance you can undefine the printer support
> which was not possible in earlier versions.
> 

	I was told that 2.0.3 was too heavy for 8086/640k, so I've keep using
2.0.2 :-(((

> If you want to modify Minix to remove something that is not enabled by a
> "#define ENABLE_*" definition in config.h I would recommend you look at
> one of the options that is defined that way and search the kernel source
> for all occurrences of "#if ENABLE_" to get a sense of where
> in the kernel the definition is used. Then you'll have a good idea of how
> many places in the kernel you might have to insert such "#if" lines to
> control a new "ENABLE_".
> 

	I'll try that.


-- 
El 67% de las estadsticas son falsas
--------
Javier Sedano Jarillo      http://www.it.uc3m.es/~jsedano
 jsedano@dit.upm.es (*)
 jsedano@ieee.org
