From owner-freebsd-current Wed Jul 5 18:59:52 2000 Delivered-To: freebsd-current@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 70D0137B772 for ; Wed, 5 Jul 2000 18:59:47 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from foo.osd.bsdi.com (root@foo.osd.bsdi.com [204.216.28.137]) by pike.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id SAA95027; Wed, 5 Jul 2000 18:59:38 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from FreeBSD.org (jhb@localhost [127.0.0.1]) by foo.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id SAA02081; Wed, 5 Jul 2000 18:59:13 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Message-ID: <3963E7F1.EC8F6D52@FreeBSD.org> Date: Wed, 05 Jul 2000 18:59:13 -0700 From: John Baldwin Organization: BSD, Inc. X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Boris Popov Cc: freebsd-current@FreeBSD.org Subject: Re: /sys hierarchy References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Boris Popov wrote: > > On Wed, 5 Jul 2000, John Baldwin wrote: > > > Here is my proposal, adjusted a little as per suggestions. It attempts to > > follow these loose guidelines: > > > > - MD code under sys/${MACHINE_ARCH} > > - device drivers (including bus's such as cam and usb) under sys/dev > > - file systems under fs/ > > - networking under net/ > > I would like also suggest a directory for optional kernel > interfaces which doesn't belong to drivers (syscall and sysctl extensions > for example) and can't go under sys/dev/. They can be considered as > 'kernel libraries' and may live under sys/lib directory (it should be > organized as sys/dev, eg. one directory per interface). > > Comments ? OpenBSD has a precedent for this with sys/lib containing libkern, libz, and some other library. Boris has a libiconv that he needs to import for Netware stuff if I'm correct. If we deem that it needs to go in the kernel, then I can add sys/lib to the list. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message