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–7<br />

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

through <strong>the</strong> host namespace while it is mapped as a<br />

block device in a rump kernel.<br />

In case hostpath does not exist, it will be created as a regular<br />

file with mode 0644 (plus any restrictions placed by umask). In<br />

case hostpath is a regular file <strong>and</strong> is not large enough to accommodate<br />

<strong>the</strong> specified size, it will be extended to <strong>the</strong> specified<br />

size.<br />

-l library<br />

Call dlopen() on library before initializing <strong>the</strong> rump kernel. In<br />

case library provides a kernel module, it will appear as a<br />

builtin module in <strong>the</strong> rump kernel. Any rump component present in<br />

library will also be initialized.<br />

<strong>The</strong> argument library can contain a full path or a filename, in<br />

which case <strong>the</strong> st<strong>and</strong>ard dynamic library search path will be used.<br />

Libraries are loaded in <strong>the</strong> order <strong>the</strong>y are given. Dependencies<br />

are not autoloaded, <strong>and</strong> <strong>the</strong> order must be specified correctly.<br />

-m module<br />

Load <strong>and</strong> link a kernel module after <strong>the</strong> rump kernel is initialized.<br />

For this to work, <strong>the</strong> rump kernel must include <strong>the</strong> vfs<br />

faction, since <strong>the</strong> module is loaded using kernel vfs code (see<br />

EXAMPLES).<br />

-r total_ram<br />

Sets <strong>the</strong> limit <strong>of</strong> kernel memory allocatable by <strong>the</strong> server to<br />

total_ram as opposed to <strong>the</strong> default which allows <strong>the</strong> server to<br />

allocate as much memory as <strong>the</strong> host will give it. This parameter<br />

is especially useful for VFS servers, since by default <strong>the</strong> vir-<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!