pooka 34980d5637 Namespace management: do not call VOP_FOO directly from ukfs or
p2k, but rather make the calls go through librump.  This avoids
having to include NetBSD kernel headers in userspace programs.
Stay tuned for some more mods of the same sort ...
2007-08-19 21:24:21 +00:00
..
2007-08-16 19:56:22 +00:00

	$NetBSD: README.dirs,v 1.3 2007/08/16 19:56:22 pooka Exp $

    Runnable Userspace Meta Programs

Quick rundown of the current directory structure:

/librump - kernel runtime emulation
  /rumpkern - portion compiled with -D_KERNEL, uses kernel headers
  /rumpuser - userspace namespace support for previous, *NO* -D_KERNEL
	      provides e.g. malloc() and some syscalls

/include
  /machine - headers meant to be used for rump compilation when the MD
	     ones cause too much trouble, e.g. curlwp which is different
	     from arch to arch

/fs - file system rumps
  /lib - libraries used by fs rumps
    /lib$fs  - kernel file system code compiled out of /sys with -D_KERNEL
    /libp2k  - puffs-to-vfs adaption layer, userspace namespace
    /libukfs - user kernel file system, a library to access file system
	       images (or devices) directly in userspace without going
	       through a system call and puffs
  /bin - rumps themselves.  fsconsole uses ukfs directly.  the rest are
	 file system specific rumps and use puffs