Skip to content

Commit e27e898

Browse files
committed
update filesystem docs
1 parent 318003f commit e27e898

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

docs/filesystem.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,8 @@ filesystem: {
3838
```
3939

4040
Here, `basefs` is a json file created using
41-
[fs2json](https://github.com/copy/fs2json). The base url is the prefix of a url
42-
from which the files are available. For instance, if the 9p filesystem has a
43-
file `/bin/sh`, that file must be accessible from
44-
`http://localhost/9p/base/bin/sh`.
41+
[fs2json.py](tools/fs2json.py) and the `baseurl` directory is created using
42+
[copy-to-sha256.py](tools/copy-to-sha256.py).
4543

4644
If `basefs` and `baseurl` are omitted, an empty 9p filesystem is created. Unless
4745
you configure one of the alternative modes.

lib/filesystem.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,7 @@ FS.prototype.load_from_json = function(fs)
178178

179179
if(fs["version"] !== JSONFS_VERSION)
180180
{
181-
throw "The filesystem JSON format has changed. " +
182-
"Please update your fs2json (https://github.com/copy/fs2json) and recreate the filesystem JSON.";
181+
throw "The filesystem JSON format has changed. Please recreate the filesystem JSON.";
183182
}
184183

185184
var fsroot = fs["fsroot"];

v86.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export interface V86Options {
230230
baseurl?: string;
231231

232232
/**
233-
* A directory of 9p files, as created by [fs2json](https://github.com/copy/v86/blob/master/tools/fs2json.py).
233+
* A directory of 9p files, as created by [copy-to-sha256.py](https://github.com/copy/v86/blob/master/tools/copy-to-sha256.py).
234234
* For more details, see docs/filesystem.md
235235
*/
236236
basefs?: string;

0 commit comments

Comments
 (0)