summaryrefslogtreecommitdiff
path: root/hurd/documentation
diff options
context:
space:
mode:
authorJoshua Branson <jbranso@fastmail.com>2018-10-31 10:13:55 -0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-11-01 01:30:37 +0100
commite274162f23dc9f67291d2e93b9a22ff90fe56a15 (patch)
tree601527e611496ab52ab01c035b29380c935c179b /hurd/documentation
parentb1102cd32952a8836caef3b9eed55f37966b70f0 (diff)
I added a sentence that mentioned how the Hurd has preliminary sound support in the status page. I gave a simple fsysopts example to with the hello translator. I added an fsysopts example to the translator_primer webpage.
Diffstat (limited to 'hurd/documentation')
-rw-r--r--hurd/documentation/translator_primer.mdwn13
1 files changed, 13 insertions, 0 deletions
diff --git a/hurd/documentation/translator_primer.mdwn b/hurd/documentation/translator_primer.mdwn
index e5c8c160..bbfb3649 100644
--- a/hurd/documentation/translator_primer.mdwn
+++ b/hurd/documentation/translator_primer.mdwn
@@ -34,6 +34,15 @@ To try out the simplest of translators, you can go the following simple steps:
"Hello World!"
$ settrans -g hello
$ cat hello
+ $
+ $ fsysopts hello
+ /hurd/hello --contents='Hello World!
+ '
+ $ fsysopts hello --contents='Hello GNU!
+ > '
+ $ cat hello
+ Hello GNU!
+ $
What you do with these steps is first verifying that the file "hello" is empty.
@@ -41,6 +50,10 @@ 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!".
+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.
+
To finish it,
you remove the translator from the file "hello"
(and tell any active running instances to go away)