summaryrefslogtreecommitdiff
path: root/hurd/documentation/translator_primer.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/documentation/translator_primer.mdwn')
-rw-r--r--hurd/documentation/translator_primer.mdwn21
1 files changed, 10 insertions, 11 deletions
diff --git a/hurd/documentation/translator_primer.mdwn b/hurd/documentation/translator_primer.mdwn
index bbfb3649..35eab2fb 100644
--- a/hurd/documentation/translator_primer.mdwn
+++ b/hurd/documentation/translator_primer.mdwn
@@ -28,13 +28,11 @@ to enable you to easily try three of them:
To try out the simplest of translators, you can go the following simple steps:
$ touch hello
- $ cat hello
+ $ cat hello
$ settrans hello /hurd/hello
$ cat hello
"Hello World!"
- $ settrans -g hello
- $ cat hello
- $
+
$ fsysopts hello
/hurd/hello --contents='Hello World!
'
@@ -42,22 +40,23 @@ To try out the simplest of translators, you can go the following simple steps:
> '
$ cat hello
Hello GNU!
- $
-
-What you do with these steps is first verifying that the file "hello" is empty.
+
+ $ settrans -g hello
+ $ cat hello
+What you do with these steps is first creating the file "hello" and verifying that it is empty.
-Then you setup the translator /hurd/hello in the file/node hello.
+Then you setup the translator `/hurd/hello` in the file/node `hello`.
-After that you check the contents of the file, and the translator returns "Hello World!".
+After that, you check the contents of the file, and the translator returns "Hello World!".
Because you are a curious hacker, you wonder what filesystem options this node has. It turns
out that the hello translator uses a "contents" option. We can change what the hello
-translator returns with another call to fsysopts.
+translator returns with another call to [[fsysopts]].
To finish it,
you remove the translator from the file "hello"
(and tell any active running instances to go away)
-via "settrans -g hello".
+via "`settrans --g hello`", which is shorthand for "`settrans --goaway hello`"
Having done that, verify that now the file is empty again.
### Transparent FTP