Subject: Config sugestion
To: None <firstname.lastname@example.org>
From: Reinoud Zandijk <email@example.com>
Date: 07/27/2001 10:18:15
Since i had to configure a NetBSD/i386 system again I ran against a pretty
irritating and time consuming job : the machine had no PCI so i had to
manually comment EVERYTHING that was related to the PCI since the kernel
had to be small too.
Therefore I would like to think of ways of specifying these kind of global
choises in the configuration files... Options I considered are :
1) include #ifdef mechanism with variables that can be used
# please put your configuration options here :
pci* at mainbus
vga* at pci?
# ifdef SCSI
scsi* at pci?
scsi* at mainbus?
2) use a top-level include mechanism for clarity
3) use a warning mechanism only ... i.e. dont consider them errors when
some items are orphans ... just 'take the orphans to an orphanage' and
cut the item / tree out of the resulting tree... a flag could be used
to just treat them as warnings instead of errors.
Unrelated : I would like to see a more clearer output ... esp. when there
are errors.... a resulting device tree could be printed out in a structured
way (option?) :
| +-- pcia
| +-- scsi X
Any ideas comments / suggestions / 'shut-up'remarks ? ;) ???