From owner-freebsd-current Tue Jan 19 22:13:17 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA09209 for freebsd-current-outgoing; Tue, 19 Jan 1999 22:13:17 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA09204 for ; Tue, 19 Jan 1999 22:13:16 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id WAA26664; Tue, 19 Jan 1999 22:13:06 -0800 (PST) Received: from bubba.whistle.com( 207.76.205.7) by whistle.com via smap (V2.0) id xma026662; Tue, 19 Jan 99 22:12:44 -0800 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id WAA20699; Tue, 19 Jan 1999 22:12:43 -0800 (PST) From: Archie Cobbs Message-Id: <199901200612.WAA20699@bubba.whistle.com> Subject: Re: KLD naming In-Reply-To: from Doug Rabson at "Jan 19, 99 07:59:16 pm" To: dfr@nlsystems.com (Doug Rabson) Date: Tue, 19 Jan 1999 22:12:43 -0800 (PST) Cc: gelderen@mediaport.org, current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug Rabson writes: > > Might it be a good idea to choose a consistent naming scheme for the > > modules? I'd think so because it would help blind loading at the boot > > prompt. If you choose names it the following format: > > > > type_name > > saver_warp > > saver_daemon > > > > the modules of one type will sort together in a directory listing. This is a > > change that will make FreeBSD more user friendly I think. > > When I first started writing KLD, I had a vague notion that there would be > a simple directory structure under /modules, e.g.: > > /modules > pci/ > ncr.ko > ... > isa/ > if_ed.ko > ... > ... I like this idea (subdirectories) better.. it will last longer :-) Witness the explosion of the ports tree. You should then be able to load a module "isa/if_ed.ko" etc and have it work (no leading slash). In fact, we can implement this (maybe it already works) before coming to a final decision on what the actual layout should be. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message