summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-07-19 02:28:49 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-07-19 02:28:49 +0200
commit70fb1fd383b9e83e617f4866ae5c5eddf65fe632 (patch)
tree54dca5d2c6b27f65b278622652dbb6a5a4ad9a0c /hurd
parentfef03b756ac50e55bdf109dd21699d4fe7ace269 (diff)
Add an ISO file mount example
Diffstat (limited to 'hurd')
-rw-r--r--hurd/documentation/translator_primer.mdwn15
1 files changed, 13 insertions, 2 deletions
diff --git a/hurd/documentation/translator_primer.mdwn b/hurd/documentation/translator_primer.mdwn
index d8d89148..270f31b7 100644
--- a/hurd/documentation/translator_primer.mdwn
+++ b/hurd/documentation/translator_primer.mdwn
@@ -17,15 +17,17 @@ powerful one. Here is an introductionary text.
## Intro
The Hurd has some unique capabilities, and we created this simple image
-to enable you to easily try two of them:
+to enable you to easily try three of them:
* The simplest of translators: Hello World!
* Transparent FTP
+* ISO file mount
### Hello World
To try out the simplest of translators, you can go the following simple steps:
+ $ touch hello
$ cat hello
$ setrans hello /hurd/hello
$ cat hello
@@ -60,8 +62,17 @@ and you can access FTP sites via the pseudo-directory ftp:, for example with
What you do here is setting up the translator /hurd/hostmux on ftp: and passing it the translator /hurd/ftpfs to use for resolving accesses as well as / as additional path component.
+### ISO file mount
-These were only two basic usages of translators on the Hurd. We're sure you'll quickly see many other ways to use this.
+Now that we can access ftp.gnu.org transparently, let's mount a remote ISO file:
+
+ $ settrans -c mnt /hurd/iso9660fs ftp://ftp.gnu.org/old-gnu/gnu-f2/hurd-F2-main.iso
+ $ ls mnt/
+
+It is interesting to note that since the ISO9660 format is indexed, ftpfs does not have to download the whole ISO file, it merely fetches what iso9660fs requests.
+
+
+These were only three basic usages of translators on the Hurd. We're sure you'll quickly see many other ways to use this.
As a last comment: You can setup a translator on any node you have access to, so you can for example mount any filesystems as normal user.