README.dirs revision 1.6
1	$NetBSD: README.dirs,v 1.6 2008/11/18 13:08:34 pooka Exp $
2
3    Runnable Userspace Meta Programs
4
5Quick rundown of the current directory structure:
6
7sys/rump/librump - kernel runtime emulation
8  /rumpkern - portion compiled with -D_KERNEL, uses kernel headers
9  /rumpnet  - networking support and sockets layer
10  /rumpuser - userspace namespace support for previous, *NO* -D_KERNEL
11	      provides e.g. malloc() and some syscalls
12
13sys/rump/include
14  /machine - headers meant to be used for rump compilation when the MD
15	     ones cause too much trouble, e.g. curlwp which is different
16	     from arch to arch
17
18sys/rump/fs - file system rumps
19  /lib/lib${fs}  - kernel file system code compiled out of /sys with -D_KERNEL
20
21sys/rump/net - networking rumps
22  /lib/libnet	  - subroutines from sys/net, e.g. route and if_ethersubr
23  /lib/libnetinet - TCP/IP
24  /lib/libvirtif  - a virtual interface which uses host tap(4) to shovel
25		    packets.  This is used by netinet and if_ethersubr.
26  /lib/libsockin  - implements PF_INET using host kernel sockets.  This is
27		    mutually exclusive with net, netinet and virtif.
28
29Users:
30src/lib
31  /libp2k  - puffs-to-vfs adaption layer, userspace namespace
32  /libukfs - user kernel file system, a library to access file system
33	     images (or devices) directly in userspace without going
34	     through a system call and puffs
35
36src/usr.sbin/puffs
37  rump_$fs - userspace file system daemons using the kernel fs code
38