diff options
| author | Joshua Branson <jbranso@fastmail.com> | 2018-10-31 10:13:55 -0400 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-11-01 01:30:09 +0100 |
| commit | 928179d067d02c0d2189e4e6dcdb724ab82f5d8c (patch) | |
| tree | 3d4eedf190c4370434aaba3a63a9d5ff4a8cc581 /hurd/documentation | |
| parent | 4de0ca82d4e8cd07630eb770a40ca0f7695bd01c (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.mdwn | 13 |
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) |
