From owner-freebsd-current Wed Jan 20 03:08:36 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA14298 for freebsd-current-outgoing; Wed, 20 Jan 1999 03:08:36 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from schuimpje.snt.utwente.nl (schuimpje.snt.utwente.nl [130.89.238.4]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA14293 for ; Wed, 20 Jan 1999 03:08:31 -0800 (PST) (envelope-from gelderen@mediaport.org) Received: from wit395301.student.utwente.nl ([130.89.235.121]:4612 "HELO deskfix" ident: "NO-IDENT-SERVICE[2]") by schuimpje.snt.utwente.nl with SMTP id <8095-10515>; Wed, 20 Jan 1999 12:08:10 +0100 Message-ID: <003601be4465$104203a0$0d79eb0a@deskfix.local> From: "Jeroen C. van Gelderen" To: "Archie Cobbs" , "Doug Rabson" Cc: Subject: Re: KLD naming Date: Wed, 20 Jan 1999 12:07:26 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: Archie Cobbs >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. I witnessed. But I don't think we will be heading that way. Even if you have 40 modules in each category, this ought to work (ls saver*). It will work because we prefix every driver with it's type so they sort together. This would have worked for the ports tree as well. Another advantage of the flat model is that it's way easier to browse. IMHO it's a real pain to have descend into subdirectories, only to find out that you want to look in another one. Cheers, Jeroen -- Jeroen C. van Gelderen -- gelderen@mediaport.org -- 0x46D8D3C8 -- &[8-D}~<= To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message