4f69d01d2f
can now be developed in userspace using puffs for development (I hate emulators, they are annoyingly clumsy). To e.g. mount psshfs using puffs-on-puffs, run fs/bin/syspuffs/syspuffs with the regular mount_psshfs command line as an argument: golem> ./syspuffs /usr/sbin/mount_psshfs ftp.netbsd.org:/pub /puffs This will make the mount appear as usual, with the exception that the requests will be passed through puffs both in the kernel and userspace: ftp.netbsd.org:/pub on /puffs type puffs|p2k|puffs|psshfs |
||
---|---|---|
.. | ||
fs | ||
include/machine | ||
librump | ||
Makefile | ||
Makefile.rump | ||
README.dirs | ||
TODO |
$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