-
Notifications
You must be signed in to change notification settings - Fork 3
Starting the rump server
To start a rump server which serves any component: (To find list of components and their dependencies: https://github.com/GW-SHC/rump2cos/wiki/Rump-Components-and-their-dependencies)
In a terminal:
$ br/rump/bin/rump_server "component" "all their dependencies" -s unix://ctrl
Note that the server stays in the foreground. This is because we gave the -s parameter, which is generally useful for easy control. Press ctrl-c and re-run the command to get the idea.
The last parameter is an URL where the server listens to for commands. We gave a relative pathname to a unix socket. If you do a directory listing in the current directory while the server is running, you will see a file system socket ctrl.
Now, we will use rumprun-posix in terminal 2:
$ . rr/rumpremote.sh
rumpremote (NULL)$ export RUMP_SERVER=unix://ctrl
rumpremote (unix://ctrl)$ sysctl vfs.generic.fstypes
vfs.generic.fstypes = rumpfs tmpfs
So now we know that we have a setup in terminal 2 which can access the kernel server, and we also know that the kernel server provides whichever components (or all components) you desired.