README.dirs revision 1.11
11.11Spooka $NetBSD: README.dirs,v 1.11 2010/05/11 11:58:14 pooka Exp $ 21.1Spooka 31.1Spooka 41.11SpookaThe following is a quick rundown of the current directory structure. 51.11SpookaFirst, components in the kernel namespace, i.e. compiled with -D_KERNEL 61.1Spooka 71.4Spookasys/rump/librump - kernel runtime emulation 81.9Spooka /rumpkern - kernel core, e.g. syscall, interrupt and lock support 91.9Spooka 101.9Spooka /rumpcrypto - kernel cryptographic routines 111.9Spooka /rumpdev - device support, e.g. autoconf subsystem 121.9Spooka /rumpnet - networking support and sockets layer 131.9Spooka /rumpvfs - file system support 141.1Spooka 151.4Spookasys/rump/include 161.8Spooka /machine - used for architectures where the rump ABI is not yet the 171.8Spooka same as the kernel module ABI. will eventually disappear 181.8Spooka completely 191.8Spooka /rump - rump headers installed to userspace 201.1Spooka 211.11Spookasys/rump/dev - device components, e.g. audio, raidframe, usb drivers 221.9Spooka 231.9Spookasys/rump/fs - file system components 241.11Spooka /lib/lib${fs} - kernel file system code 251.4Spooka 261.9Spookasys/rump/net - networking components 271.5Spooka /lib/libnet - subroutines from sys/net, e.g. route and if_ethersubr 281.5Spooka /lib/libnetinet - TCP/IP 291.5Spooka /lib/libvirtif - a virtual interface which uses host tap(4) to shovel 301.5Spooka packets. This is used by netinet and if_ethersubr. 311.5Spooka /lib/libsockin - implements PF_INET using host kernel sockets. This is 321.5Spooka mutually exclusive with net, netinet and virtif. 331.4Spooka 341.11Spooka 351.11Spooka 361.11SpookaThe rest are out-of-kernel components (i.e. no -D_KERNEL) 371.11Spookarelated to rump. 381.11Spooka 391.11Spookahypercall interface: 401.11Spookasrc/lib/librumpuser 411.11Spooka The "rumpuser" set of interfaces is used by rump to communicate 421.11Spooka with the host. 431.11Spooka 441.4SpookaUsers: 451.4Spookasrc/lib 461.4Spooka /libp2k - puffs-to-vfs adaption layer, userspace namespace 471.4Spooka /libukfs - user kernel file system, a library to access file system 481.4Spooka images (or devices) directly in userspace without going 491.11Spooka through a system call and puffs. It provides a slightly 501.11Spooka higher interface than pure rump syscalls. 511.4Spooka 521.4Spookasrc/usr.sbin/puffs 531.4Spooka rump_$fs - userspace file system daemons using the kernel fs code 541.11Spooka 551.11Spookasrc/share/examples/rump 561.11Spooka Various examples detailing use of rump in different scenarios. 571.11Spooka These are provided source-only. 58