-
Notifications
You must be signed in to change notification settings - Fork 6
/
genkfs.1.scdoc
42 lines (28 loc) · 1.22 KB
/
genkfs.1.scdoc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
GENKFS(1)
# NAME
genkfs - Writes KFS filesystems into ROM dumps
# SYNOPSIS
*genkfs* _input_ _model_
# DESCRIPTION
_input_ is the ROM file you would like to write the filesystem to. _model_ is a
path to a directory that will be copied into / on the new filesystem.
# SYMBOLIC LINKS
Symbolic links are supported but have special constraints. Instead of making
symlinks that make sense in the context of your model filesystem, make symlinks
that make sense in the context of the final filesystem. That is, if you want the
resulting filesystem to have a symlink from /var/link to /var/target, you should
make a link in your model that points to /var/target, **even if your local
filesystem does not have anything interesting at /var/target**.
In other words, to make the final filesystem have that link from /var/link to
/var/target, run this command on _model/_:
```
ln -s /var/target model/var/link
```
# EXAMPLES
*genkfs input.rom ./temp*
Creates a KFS filesystem in input.rom and copies the contents of ./temp to the
root of the new filesystem.
# AUTHORS
Maintained by Drew DeVault <[email protected]>, who is assisted by other open
source contributors. For more information about genkfs development, see
https://github.com/KnightOS/genkfs.