From owner-freebsd-current Wed Jan 20 16:00:37 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA06124 for freebsd-current-outgoing; Wed, 20 Jan 1999 16:00:37 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [195.187.243.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA06119 for ; Wed, 20 Jan 1999 16:00:35 -0800 (PST) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.9.1/8.8.5) with SMTP id BAA19057; Thu, 21 Jan 1999 01:06:45 +0100 (CET) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Thu, 21 Jan 1999 01:06:45 +0100 (CET) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: Archie Cobbs cc: Mike Smith , current@FreeBSD.ORG Subject: Re: KLD naming In-Reply-To: <199901202046.MAA23549@bubba.whistle.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 20 Jan 1999, Archie Cobbs wrote: > > > I like this idea (subdirectories) better.. it will last longer :-) > > > > It's a really bad idea, because it requires you to classify things. It > > also makes it much harder to administer. In addition, classifications > > are bad (witness the need to reorganise the kernel source tree). > > > > > You should then be able to load a module "isa/if_ed.ko" etc > > > and have it work (no leading slash). > > > > And here is a good example. Why would you want to put if_ed in the > > "ISA" category when it can be attached to both the PCI and ISA busses? > > I don't care how you classify it.. of course the "isa" category is wrong. > > I was just pointing out that having things in subdirectories > is better than having a zillion files piled into a single directory. Not always. Consider a case when all modules are on a slow media (such as a floppy or zipfs) - then putting things in subdirs adds quite significant overhead to load/ls/search due to pathname lookups. Andrzej Bialecki -------------------- ++-------++ ------------------------------------- ||PicoBSD|| FreeBSD in your pocket? Go and see: Research & Academic |+-------+| "Small & Embedded FreeBSD" Network in Poland | |TT~~~| | http://www.freebsd.org/~picobsd/ -------------------- ~-+==---+-+ ------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message