summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--settransexamples.mdwn85
1 files changed, 47 insertions, 38 deletions
diff --git a/settransexamples.mdwn b/settransexamples.mdwn
index 20133924..dc4f9a81 100644
--- a/settransexamples.mdwn
+++ b/settransexamples.mdwn
@@ -9,74 +9,83 @@ is included in the section entitled
## Setting up translators - HowTo
Translators can be got from hurd-extras <http://www.nongnu.org/hurdextras/>
-<pre>
-cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/hurdextras co <modulename>
-</pre>
+
+ cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/hurdextras co <modulename>
* httpfs translator
-<pre>
- $ settrans -a tmp/ /hurd/httpfs www.hurd-project.com/ (or)
- $ settrans -a tmp/ /hurd/httpfs www.hurd-project.com/ --proxy=<proxy> --port=<port>
- $ cd tmp/
- $ ls -l
-</pre>
+
+<!-- Prevent ikiwiki / Markdown rendering bug. -->
+
+ $ settrans -a tmp/ /hurd/httpfs www.hurd-project.com/
+
+or
+
+ $ settrans -a tmp/ /hurd/httpfs www.hurd-project.com/ --proxy=<proxy> --port=<port>
+ $ cd tmp/
+ $ ls -l
* ftpfs translator
-<pre>
- $ settrans -cgap ftp /hurd/hostmux /hurd/ftpfs /
- $ cd ftp
- ftp$ ls
- ftp$ cd ftp.fr.debian.org
- ftp/ftp.fr.debian.org $ ls
-</pre>
+
+<!-- Prevent ikiwiki / Markdown rendering bug. -->
+
+ $ settrans -cgap ftp /hurd/hostmux /hurd/ftpfs /
+ $ cd ftp
+ ftp$ ls
+ ftp$ cd ftp.fr.debian.org
+ ftp/ftp.fr.debian.org $ ls
* tarfs translator
-<pre>
- You can use tarfs to mount (almost) any tar file:
+
+You can use tarfs to mount (almost) any tar file:
+
$ settrans -ca a /hurd/tarfs -z myfile.tar.gz
$ settrans -ca b /hurd/tarfs -y myfile.tar.bz2
$ settrans -ca c /hurd/tarfs myfile.tar
- You can even use it to create new tar files:
+
+You can even use it to create new tar files:
+
$ settrans -ca new /hurd/tarfs -cz newfile.tar.gz
$ cp -r all my files new/
$ syncfs new
- This is not as fast as "tar czvf newfile.tar.gz all my files" but at least, it's more original. ;)
-</pre>
+
+This is not as fast as `tar czvf newfile.tar.gz all my files` but at least, it's more original. ;)
* cvsfs translator
-<pre>
+
+<!-- Prevent ikiwiki / Markdown rendering bug. -->
+
$ settrans -ac cvsfs_testing /hurd/cvsfs cvs.savannah.nongnu.org /sources/hurdextras
$ cd cvsfs_testing
-</pre>
* pfinet translator -- configuring your network interface
-<pre>
+
+<!-- Prevent ikiwiki / Markdown rendering bug. -->
+
$ settrans -fgca /servers/socket/2 /hurd/pfinet -i <interface> -a <ip address> -m <subnet mask> -g <gateway ip>
-</pre>
* Console translator -- setting up virtual consoles
-<pre>
+
+<!-- Prevent ikiwiki / Markdown rendering bug. -->
+
$ console -d vga -d pc_mouse -d pc_kbd -d generic_speaker /dev/vcs
-</pre>
* iso9660fs translator -- 'mounting' your cdrom
-<pre>
+
+<!-- Prevent ikiwiki / Markdown rendering bug. -->
+
$ settrans -ac /cdrom /hurd/iso9660fs /dev/<cdrom device file>
-</pre>
* ext2fs translator -- 'mounting' an ext2fs partition
-<pre>
+
+<!-- Prevent ikiwiki / Markdown rendering bug. -->
+
$ settrans -ac /linux /hurd/ext2fs /dev/<partition device file>
-</pre>
* unionfs translator
-<pre>
- To join "foo/" "bar/" and "baz/" in the directory "quux/", just do:
- $ settrans -capfg quux/ /hurd/unionfs foo/ bar/ baz/
+To join "foo/" "bar/" and "baz/" in the directory "quux/", just do:
- If you want to join even quux/ contents in the union itself, add -u as a translator argument.
- You can add filesystems at run-time with the fsysopts command.
-</pre>
+ $ settrans -capfg quux/ /hurd/unionfs foo/ bar/ baz/
---IsaacPraveen - 14 May 2006 \ No newline at end of file
+If you want to join even quux/ contents in the union itself, add -u as a translator argument.
+You can add filesystems at run-time with the fsysopts command.