Date: Mon, 6 Nov 1995 02:58:19 +1100 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, grog@lemis.de Cc: hackers@freebsd.org Subject: Re: machine reboot & kernel maxusers option Message-ID: <199511051558.CAA08360@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>> >need to keep things in that you don't have (I haven't found a clean >> >way to remove CD-ROM support, for example). You're right, though, >> >that doesn't make it good. >> >> I would at least disable the drivers for hardware that doesn't exist. >> This doesn't reduce the space bloat but it makes driver probes more >> reliable and turns "Not found" warnings into errors. >Sure, but how? If I remove CD-ROM support for my dickless >workstations, I get unresolved references from other modules which do >need to stay. Sure, I could go in and throw in some #ifdefs--maybe. >But that's going beyond a simple kernel rebuild. I meant to just turn off the the driver enable flag at boot time. The cdrom support should already be correctly ifdefed. It's a bit harder to remove than most drivers because there is an option (ATAPI) for it as well as a driver (wcd0). Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511051558.CAA08360>