README.dirs revision 1.6
11.6Spooka	$NetBSD: README.dirs,v 1.6 2008/11/18 13:08:34 pooka Exp $
21.1Spooka
31.1Spooka    Runnable Userspace Meta Programs
41.1Spooka
51.1SpookaQuick rundown of the current directory structure:
61.1Spooka
71.4Spookasys/rump/librump - kernel runtime emulation
81.1Spooka  /rumpkern - portion compiled with -D_KERNEL, uses kernel headers
91.6Spooka  /rumpnet  - networking support and sockets layer
101.1Spooka  /rumpuser - userspace namespace support for previous, *NO* -D_KERNEL
111.1Spooka	      provides e.g. malloc() and some syscalls
121.1Spooka
131.4Spookasys/rump/include
141.1Spooka  /machine - headers meant to be used for rump compilation when the MD
151.1Spooka	     ones cause too much trouble, e.g. curlwp which is different
161.1Spooka	     from arch to arch
171.1Spooka
181.4Spookasys/rump/fs - file system rumps
191.6Spooka  /lib/lib${fs}  - kernel file system code compiled out of /sys with -D_KERNEL
201.4Spooka
211.5Spookasys/rump/net - networking rumps
221.5Spooka  /lib/libnet	  - subroutines from sys/net, e.g. route and if_ethersubr
231.5Spooka  /lib/libnetinet - TCP/IP
241.5Spooka  /lib/libvirtif  - a virtual interface which uses host tap(4) to shovel
251.5Spooka		    packets.  This is used by netinet and if_ethersubr.
261.5Spooka  /lib/libsockin  - implements PF_INET using host kernel sockets.  This is
271.5Spooka		    mutually exclusive with net, netinet and virtif.
281.4Spooka
291.4SpookaUsers:
301.4Spookasrc/lib
311.4Spooka  /libp2k  - puffs-to-vfs adaption layer, userspace namespace
321.4Spooka  /libukfs - user kernel file system, a library to access file system
331.4Spooka	     images (or devices) directly in userspace without going
341.4Spooka	     through a system call and puffs
351.4Spooka
361.4Spookasrc/usr.sbin/puffs
371.4Spooka  rump_$fs - userspace file system daemons using the kernel fs code
38