From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 7 14:20:35 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B8C937B407 for ; Mon, 7 Apr 2003 14:20:35 -0700 (PDT) Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id D345343FDF for ; Mon, 7 Apr 2003 14:20:33 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 22288 invoked from network); 7 Apr 2003 21:20:42 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 7 Apr 2003 21:20:42 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.8/8.12.8) with ESMTP id h37LKVOv043920; Mon, 7 Apr 2003 17:20:31 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 07 Apr 2003 16:20:32 -0400 (EDT) From: John Baldwin To: "Geoffrey C. Speicher" cc: Marc Ernst Eddy van Woerkom cc: Poul-Henning Kamp cc: freebsd-hackers@freebsd.org Subject: RE: kernel device dependency and sys/conf/files format X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2003 21:20:35 -0000 On 05-Apr-2003 Geoffrey C. Speicher wrote: > I'm revisiting the project to determine device dependency in the kernel, > and I've run into a situation where net/if.c requires the ether device, > but no device appears to require net/if.c directly. > > sys/conf/files says that net/if.c is "standard", but I have no idea what > that means in terms of building a kernel. An entry (filename) in that > file can be listed as standard, mandatory, optional, or count. Mandatory > and optional seem pretty self-explanatory, but can anyone explain the > meaning of standard and count? > > I assume that net/if.c can be removed from the build or else it would be > listed as mandatory, but it does appear that an awful lot of things > implicitly depend on it. Eh? I am not aware of any 'mandatory' entries in sys/conf/files*. This is what I get: > grep mandatory /sys/conf/files* > Basically, 'standard' is how you spell 'mandatory' in sys/conf/files*. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/