From owner-freebsd-arch Mon Apr 22 16:28: 9 2002 Delivered-To: freebsd-arch@freebsd.org Received: from deathrow.mail.pas.earthlink.net (deathrow.mail.pas.earthlink.net [207.217.120.19]) by hub.freebsd.org (Postfix) with ESMTP id 17D6237B6AF for ; Mon, 22 Apr 2002 16:21:40 -0700 (PDT) Received: from pintail.mail.pas.earthlink.net ([207.217.120.122]) by deathrow.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 16zYtJ-0007BN-00 for arch@freebsd.org; Mon, 22 Apr 2002 01:09:41 -0700 Received: from pool0030.cvx21-bradley.dialup.earthlink.net ([209.179.192.30] helo=mindspring.com) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #2) id 16zYoJ-0005wK-00; Mon, 22 Apr 2002 01:04:31 -0700 Message-ID: <3CC3C3F3.1D9EEACB@mindspring.com> Date: Mon, 22 Apr 2002 01:04:03 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Luigi Rizzo Cc: arch@freebsd.org Subject: Re: Where do we put dependencies between kernel config options ? References: <20020421055132.B90381@iguana.icir.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Luigi Rizzo wrote: > As the subject says... It seems that we do not have a place to > put dependencies among kernel config options and devices. > Is there any plan to implement a mechanism to record > dependencies, and then either import the necessary entries, or > report the missing ones without waiting for a kernel failure to > link (or, in case of modules, fail to load) ? > > I think there is something like that, but not quite, for modules. Module dependencies on named modules aren't strictly recorded, because auto-loading isn't supported; if you want to hack up auto-loading, then it's probably reasonable to add a dependency, other than failing due to undefined symbols. For ordinary configuration option interdependencies... I think they should be administratively prohibited. If you don't let them happen, then you don't have to deal with the fallout. Kind of like dealing with nuclear accidents. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message