NetBSD/lib
pooka 7379975cf9 Support mount/unmount too. So, things are now generally at a stage
where you can mount a file system with a userspace server *without*
it having to go through puffs.

Say, you first start a server with ffs capability and map a host
ffs image into it:

	rump_server -lrumpvfs -lrumpfs_ffs \
	    -d key=/ffsimg,hostpath=ffs2.img,size=e unix:///tmp/ffsserv

Then, configure your shell to talk to the rump server:

	setenv RUMP_SERVER unix:///tmp/ffsserv
	setenv LD_PRELOAD /usr/lib/librumphijack.so

Create a mountpoint and mount the file system:

	pain-rustique:60:~> sh
	$ cd /rump
	$ ls
	dev
	$ ls -l
	total 1
	drwxr-xr-x  2 root  wheel  512 Feb 17 18:00 dev
	$ mkdir mnt
	$ mount_ffs /ffsimg /rump/mnt
	mount_ffs: Warning: realpath /ffsimg: No such file or directory
	$ df -h mnt
	Filesystem        Size       Used      Avail %Cap Mounted on
	/ffsimg           496M       380M        91M  80% /mnt
	$ du -sckh *
	192K    dev
	380M    mnt
	381M    total
	$ umount -R mnt
	$ df -h mnt
	Filesystem        Size       Used      Avail %Cap Mounted on
	rumpfs            1.0K       1.0K         0B 100% /
	$

(note, you need -R to umount due to various degrees of unsuccesful
magic it attempts to perform without it)
2011-02-17 17:18:08 +00:00
..
csu Distinguish between a corrupt obj pointer and a null obj pointer. 2011-02-08 02:03:13 +00:00
i18n_module
libarch
libasn1
libbluetooth add sdp_put_[u]int64() .Fn prototypes to list 2011-01-15 11:51:25 +00:00
libbsdmalloc
libbz2
libc Fix build with SSP enabled. 2011-02-16 20:20:25 +00:00
libcom_err
libcompat
libcrypt
libcrypto_idea remove almost all the ability to build netbsd with an a.out target. 2010-07-06 05:59:50 +00:00
libcrypto_mdc2 remove almost all the ability to build netbsd with an a.out target. 2010-07-06 05:59:50 +00:00
libcrypto_rc5 remove almost all the ability to build netbsd with an a.out target. 2010-07-06 05:59:50 +00:00
libcurses Fix typo. 2011-02-10 08:54:12 +00:00
libdm Improve a bit. 2011-02-08 09:49:07 +00:00
libedit Deal with changes in the weak_reference semantic in GCC 4.2 and later. 2011-02-17 16:44:48 +00:00
libform cast isblank(3)'s argument to unsigned char. 2010-05-13 17:52:11 +00:00
libgssapi
libhdb
libheimntlm
libhx509
libintl
libipsec
libisns Typo fixes, use more markup. 2011-01-16 08:00:01 +00:00
libkadm5clnt
libkadm5srv
libkafs
libkrb5
libkvm Add -D_KMEMUSER to CPPFLAGS 2011-02-14 18:27:24 +00:00
libl
liblwres
libm Add the actual function files. From FreeBSD via Stathis Kamperis 2011-02-06 01:53:38 +00:00
libmenu
libnpf npf_nat_create: fix attributes. 2011-02-02 15:17:37 +00:00
libossaudio
libp2k Make P2K_WIZARDUID require a valid integer instead of defaulting to root. 2011-01-07 16:02:32 +00:00
libpam PR/44505: Mark Davies: pam_exec fails to realloc enough space, while 2011-02-03 02:05:59 +00:00
libpci Update libpci for change in pci_find{vendor,product} entrypoint names. 2010-05-25 08:35:47 +00:00
libperfuse Remove code supporting SOCK_STREAM, as SOCK_DGRAM works fine 2010-10-11 05:37:58 +00:00
libpmc
libposix Use PRINTOBJDIR to get the object directory of libc and use that with -I. 2011-01-18 16:41:51 +00:00
libprop - Implement prop_{array,dictionary}_copyout(), based on 2011-01-19 20:34:23 +00:00
libpthread make the code more re-usable 2011-01-26 18:48:57 +00:00
libpthread_dbg
libpuffs st_blocks is in units of DEV_BSIZE, not st_blksize. 2011-02-17 15:41:34 +00:00
libradius
librefuse bump major of libs NEEDING libpuffs 2010-05-21 10:53:41 +00:00
libresolv
librmt Move prototype of isrmt() to rmt.h. It is a public interface 2010-08-31 05:12:35 +00:00
libroken remove almost all the ability to build netbsd with an a.out target. 2010-07-06 05:59:50 +00:00
librpcsvc
librt Use PRINTOBJDIR to get the object directory of libc and use that with -I. 2011-01-18 16:41:51 +00:00
librump sprinkle a few references (just a diet sprinkling really) 2011-02-16 23:51:50 +00:00
librumpclient Use more appropriate markup. Fix a typo. 2011-02-17 17:03:17 +00:00
librumpdev
librumphijack Support mount/unmount too. So, things are now generally at a stage 2011-02-17 17:18:08 +00:00
librumpnet
librumpuser Cleanup server socket before sending back "ok" for halt. Fixes 2011-02-15 16:10:41 +00:00
librumpvfs fix prototype, document RUMP_ETFS_SIZE_ENDOFF 2011-02-03 10:21:58 +00:00
libskey
libsl
libss
libtelnet
libterminfo replace `` with $(). Hopefully with enough examples around people will 2010-10-12 12:57:51 +00:00
libukfs rump_lwproc_newproc -> rump_lwproc_rfork 2011-01-02 13:01:45 +00:00
libusbhid Improve usbhid(3) descriptor/report parsing: 2010-08-13 19:56:34 +00:00
libutil restore lost overlow check fix. 2010-12-24 15:47:39 +00:00
libvers
libwrap
liby
libz
bumpversion
checkoldver
checkver
checkvers
Makefile Need to build libsaslc 2011-02-12 22:24:40 +00:00
Makefile.inc