summaryrefslogtreecommitdiff
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:09 +0100
commit928179d067d02c0d2189e4e6dcdb724ab82f5d8c (patch)
tree3d4eedf190c4370434aaba3a63a9d5ff4a8cc581
parent4de0ca82d4e8cd07630eb770a40ca0f7695bd01c (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.
-rw-r--r--hurd/documentation/translator_primer.mdwn13
-rw-r--r--hurd/fsysopts.mdwn15
-rw-r--r--hurd/status.mdwn5
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