75 lines · 2.8 KB · Text
RawDownload
# status experimental  # intro vacinit is a replacement for emuinit, it can be the first limboprogram started by emu to set up the environment.  more specific:vacinit uses a vac as the file system (read-only).  it can be startedlike this (assuming its dependencies are available too): 	emu -d /dis/vacinit.dis this repository also includes the following programs which are used byvacinit:- tventi, simple read/write venti server that keeps all scores in  memory.- xventi, a venti proxy server that accepts read requests that it  forwards to a local venti server (vacinit sets up a tventi for this  purpose).  the data is returned to the client.  if the local server  does not have the block, the request is sent to a "remote" (typically  over a higher-latency link) server (which is assumed to be  authoritative).  the response is returned to the client.  if the the  response included data, it is also written to the local server so  future local requests will succeed. vacwalksrv is a simple network server that accepts a vac score anda list of paths and returns score,type pairs required for readingthose files/directories.  vacinit can connect to such a server toquickly retrieve files required to start up inferno, and othercommonly used files.  this is especially useful on high latencyconnections.  vacwalksrv typically runs on the same server as theventi server holding the vac tree. slowventi is also included, it simulates venti over a high-latencyand/or bandwidth-constrained link. vacinit itself shows a tk interface with a list of configs (vac scoresand venti server addresses) to choose from.  it also lets you fetch anew config over 9p or http.  # install make sure $ROOT is set.  now "mk install" to compile and install thefiles. when building from within inferno, insert SYSHOST=Inferno and ROOT=in the mk invocations to override the values in the mkconfig.  # latest version the latest version can be found at:     http://www.ueber.net/code/r/vacinit  # licence & author all files are in the public domain.  this code has been written bymechiel lukkien, reachable at mechiel@ueber.net.  # todo - vacinit: find out why sometimes /dev/pointer is never released- tventi: check for, and recover from corrupt index/data files- vacinit: think of a scheme that allows running multiple vacinits.  xventi & tventi listen on fixed tcp ports now.- vacinit: think of a scheme to verify configs.  they could contain a public key and a fingerprint over the remainder of the config.- vacinit: show some kind of progress while doing vacwalk?  afterwards, we should be able to killgrp only the gui part, not the venti's.- vacinit: could fetch 00vacpaths quickly using vacwalk too, and safe a mark about having fetched it in local venti.- all: write man pages- xventi: don't unpack & pack vmsgs when not needed.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t