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:37 +0100 |
commit | e274162f23dc9f67291d2e93b9a22ff90fe56a15 (patch) | |
tree | 601527e611496ab52ab01c035b29380c935c179b /hurd | |
parent | b1102cd32952a8836caef3b9eed55f37966b70f0 (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')
-rw-r--r-- | hurd/documentation/translator_primer.mdwn | 13 | ||||
-rw-r--r-- | hurd/fsysopts.mdwn | 15 | ||||
-rw-r--r-- | hurd/status.mdwn | 5 |
3 files changed, 31 insertions, 2 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) diff --git a/hurd/fsysopts.mdwn b/hurd/fsysopts.mdwn index debe2ebc..ff30f31d 100644 --- a/hurd/fsysopts.mdwn +++ b/hurd/fsysopts.mdwn @@ -12,6 +12,21 @@ Get or set command line options for a running [[translator]]. See [[documentation/translators#manage]]. +# A Simple Example + + $ touch hello + $ cat hello + $ settrans hello /hurd/hello + $ cat hello + "Hello World!" + $ fsysopts hello + /hurd/hello --contents='Hello World! + ' + $ fsysopts hello --contents='Hello GNU! + > ' + $ cat hello + Hello GNU! + $ # Open Issues diff --git a/hurd/status.mdwn b/hurd/status.mdwn index 742dea03..a7e0be8f 100644 --- a/hurd/status.mdwn +++ b/hurd/status.mdwn @@ -31,8 +31,9 @@ gnumeric, iceweasel, and advanced server applications like the Apache webserver. The DDE environment allows for reusing half of the Linux 2.6.32 network device drivers, and experimental support for SATA devices was added in May 2013. -On the other side, support for character devices (like sound -cards) and other hardware (USB, multicore) is mostly missing. +Robert Millan worked on a port of the Rump kernel, which allowed to run a +sound driver in userland. This work now needs to be extended. Support for +character devices and other hardware (USB, multicore) is mostly missing. Although the [[POSIX interface|faq/posix_compatibility]] is provided, some additional interfaces |