7379975cf9
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) |
||
---|---|---|
.. | ||
csu | ||
i18n_module | ||
libarch | ||
libasn1 | ||
libbluetooth | ||
libbsdmalloc | ||
libbz2 | ||
libc | ||
libcom_err | ||
libcompat | ||
libcrypt | ||
libcrypto_idea | ||
libcrypto_mdc2 | ||
libcrypto_rc5 | ||
libcurses | ||
libdm | ||
libedit | ||
libform | ||
libgssapi | ||
libhdb | ||
libheimntlm | ||
libhx509 | ||
libintl | ||
libipsec | ||
libisns | ||
libkadm5clnt | ||
libkadm5srv | ||
libkafs | ||
libkrb5 | ||
libkvm | ||
libl | ||
liblwres | ||
libm | ||
libmenu | ||
libnpf | ||
libossaudio | ||
libp2k | ||
libpam | ||
libpci | ||
libperfuse | ||
libpmc | ||
libposix | ||
libprop | ||
libpthread | ||
libpthread_dbg | ||
libpuffs | ||
libradius | ||
librefuse | ||
libresolv | ||
librmt | ||
libroken | ||
librpcsvc | ||
librt | ||
librump | ||
librumpclient | ||
librumpdev | ||
librumphijack | ||
librumpnet | ||
librumpuser | ||
librumpvfs | ||
libskey | ||
libsl | ||
libss | ||
libtelnet | ||
libterminfo | ||
libukfs | ||
libusbhid | ||
libutil | ||
libvers | ||
libwrap | ||
liby | ||
libz | ||
bumpversion | ||
checkoldver | ||
checkver | ||
checkvers | ||
Makefile | ||
Makefile.inc |