Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jul 2000 18:59:13 -0700
From:      John Baldwin <jhb@FreeBSD.org>
To:        Boris Popov <bp@butya.kz>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: /sys hierarchy
Message-ID:  <3963E7F1.EC8F6D52@FreeBSD.org>
References:  <Pine.BSF.4.10.10007060828540.47093-100000@lion.butya.kz>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3963E7F1.EC8F6D52>