28.08.2015 Views

The Design and Implementation of the Anykernel and Rump Kernels

1F3KDce

1F3KDce

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A–8<br />

RUMP_SERVER(1) NetBSD General Comm<strong>and</strong>s Manual RUMP_SERVER(1)<br />

tual file system will attempt to consume as much memory as it<br />

can, <strong>and</strong> accessing large files can cause an excessive amount <strong>of</strong><br />

memory to be used as file system cache.<br />

-s Do not detach from <strong>the</strong> terminal. By default, rump_server<br />

detaches from <strong>the</strong> terminal once <strong>the</strong> service is running on url.<br />

-v Set bootverbose.<br />

After use, rump_server can be made to exit using rump.halt(1).<br />

EXAMPLES<br />

Start a server <strong>and</strong> load <strong>the</strong> tmpfs file system module, <strong>and</strong> halt <strong>the</strong> server<br />

immediately afterwards:<br />

$ rump_server -lrumpvfs -m /modules/tmpfs.kmod unix://sock<br />

$ env RUMP_SERVER=unix://sock rump.halt<br />

Start a server with <strong>the</strong> one gigabyte host file dk.img mapped as <strong>the</strong> block<br />

device /dev/dk in <strong>the</strong> rump kernel.<br />

$ rump_allserver -d key=/dev/dk,hostpath=dk.img,size=1g unix://sock<br />

Start a server which listens on INADDR_ANY port 3755<br />

$ rump_server tcp://0:3755/<br />

Start a FFS server with a 16MB kernel memory limit.<br />

$ rump_server -lrumpvfs -lrumpfs_ffs -r 16m unix:///tmp/ffs_server<br />

NetBSD 5.99.48 February 21, 2011 NetBSD 5.99.48

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!